dune-common
2.7.0
dune
common
std
utility.hh
Go to the documentation of this file.
1
#ifndef DUNE_COMMON_STD_UTILITY_HH
2
#define DUNE_COMMON_STD_UTILITY_HH
3
4
#include <cstddef>
5
6
#include <type_traits>
7
#include <utility>
8
9
#include <
dune/common/typetraits.hh
>
10
11
namespace
Dune
12
{
13
14
namespace
Std
15
{
16
17
18
using
std::integer_sequence;
19
using
std::index_sequence;
20
using
std::make_integer_sequence;
21
using
std::make_index_sequence;
22
37
template
<
typename
... T>
38
using
index_sequence_for
= make_index_sequence<
typename
Dune::SizeOf
<T...>{}>;
39
40
41
42
}
// namespace Std
43
44
}
// namespace Dune
45
46
#endif // #ifndef DUNE_COMMON_STD_UTILITY_HH
typetraits.hh
Traits for type conversions and type information.
Dune::Std::index_sequence_for
make_index_sequence< typename Dune::SizeOf< T... >{}> index_sequence_for
Create index_sequence from 0 to sizeof...(T)-1.
Definition:
utility.hh:38
Dune::SizeOf
Compute size of variadic type list.
Definition:
typetraits.hh:483
Dune
Dune namespace.
Definition:
alignedallocator.hh:13
Generated by
1.8.17