DUNE PDELab (2.7)

utility.hh
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
10
11namespace 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
Traits for type conversions and type information.
make_index_sequence< typename Dune::SizeOf< T... >{}> index_sequence_for
Create index_sequence from 0 to sizeof...(T)-1.
Definition: utility.hh:38
Dune namespace.
Definition: alignedallocator.hh:14
Compute size of variadic type list.
Definition: typetraits.hh:485
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Jul 15, 22:36, 2024)