Dune Core Modules (2.4.1)

type_traits.hh
1#ifndef DUNE_COMMON_STD_TYPE_TRAITS_HH
2#define DUNE_COMMON_STD_TYPE_TRAITS_HH
3
4#include <type_traits>
5
6namespace Dune
7{
8
9namespace Std
10{
11
12 // to_false_type
13 // -------------
14
58 template< typename T >
59 struct to_false_type : public std::false_type {};
60
61
62
63 // to_true_type
64 // ------------
65
74 template< typename T >
75 struct to_true_type : public std::true_type {};
76
77} // namespace Std
78
79} // namespace Dune
80
81#endif // #ifndef DUNE_COMMON_STD_TYPE_TRAITS_HH
Dune namespace.
Definition: alignment.hh:10
template mapping a type to std::false_type
Definition: type_traits.hh:59
template mapping a type to std::true_type
Definition: type_traits.hh:75
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 22, 23:30, 2024)