Sacado Package Browser (Single Doxygen Collection)
Version of the Day
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
mpl
Sacado_mpl_vector_at_spec.hpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Sacado Package
4
//
5
// Copyright 2006 NTESS and the Sacado contributors.
6
// SPDX-License-Identifier: LGPL-2.1-or-later
7
// *****************************************************************************
8
// @HEADER
9
10
#ifndef SCADO_MPL_VECTOR_AT_SPEC_HPP
11
#define SCADO_MPL_VECTOR_AT_SPEC_HPP
12
13
namespace
Sacado {
14
15
namespace
mpl {
16
17
template
<
class
Vector,
int
Pos>
struct
vector_at
{};
18
19
template
<
typename
T
,
typename
...Args>
20
struct
vector_at
<mpl::
vector
<T,Args...>, 0> {
21
typedef
T
type
;
22
};
23
24
template
<
typename
T
,
typename
...Args,
int
Pos>
25
struct
vector_at
<mpl::
vector
<T,Args...>, Pos> {
26
typedef
typename
vector_at
<
mpl::vector
<Args...>, Pos-1>
::type
type
;
27
};
28
29
}
30
31
}
32
33
#endif // SCADO_MPL_VECTOR_AT_SPEC_HPP
Sacado::mpl::vector_at< mpl::vector< T, Args...>, 0 >::type
T type
Definition:
Sacado_mpl_vector_at_spec.hpp:21
Sacado::mpl::vector
Definition:
Sacado_mpl_vector.hpp:36
T
#define T
Definition:
Sacado_rad.hpp:553
Sacado::mpl::vector_at
Definition:
Sacado_mpl_vector_at_spec.hpp:17
Sacado::mpl::vector_at< mpl::vector< T, Args...>, Pos >::type
vector_at< mpl::vector< Args...>, Pos-1 >::type type
Definition:
Sacado_mpl_vector_at_spec.hpp:26
Generated on Tue Nov 12 2024 09:21:52 for Sacado Package Browser (Single Doxygen Collection) by
1.8.5