Dune Core Modules (2.5.1)

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
Dune namespace.
Definition: alignment.hh:11
Compute size of variadic type list.
Definition: typetraits.hh:566
Traits for type conversions and type information.
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Sep 26, 22:29, 2024)