dune-common  2.4
type_traits.hh
Go to the documentation of this file.
1 #ifndef DUNE_COMMON_STD_TYPE_TRAITS_HH
2 #define DUNE_COMMON_STD_TYPE_TRAITS_HH
3 
4 #include <type_traits>
5 
6 namespace Dune
7 {
8 
9 namespace 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:9
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