|
dune-typetree 2.8.0
|
Loading...
Searching...
No Matches
typetraits.hh
Go to the documentation of this file.
43 };
63 };
80 };
100 };
typename std::decay_t< Node >::NodeTag NodeTag
Returns the node tag of the given Node.
Definition nodeinterface.hh:67
typename std::decay_t< T >::ImplementationTag ImplementationTag
Returns the implementation tag of the given Node.
Definition nodeinterface.hh:71
constexpr auto isTreePath(const T &) -> IsTreePath< T >
Check if given object represents a tree path.
Definition typetraits.hh:199
T * declptr()
Helper function for generating a pointer to a value of type T in an unevaluated operand setting.
constexpr auto isTreePath(void *) -> std::false_type
Definition typetraits.hh:161
static constexpr size_type N()
A hybrid version of TreePath that supports both compile time and run time indices.
Definition treepath.hh:79
Definition typetraits.hh:19
Definition typetraits.hh:31
@ value
True if class T defines a NodeTag.
Definition typetraits.hh:42
static yes test(NodeTag< X > *)
static no test(...)
Definition typetraits.hh:32
Definition typetraits.hh:33
Definition typetraits.hh:48
@ value
True if class T defines a NodeTag of type V.
Definition typetraits.hh:62
static maybe< std::is_base_of< V, NodeTag< X > >::value > test(NodeTag< X > *a)
static no test(...)
Definition typetraits.hh:50
Definition typetraits.hh:51
Definition typetraits.hh:52
Definition typetraits.hh:68
static yes test(ImplementationTag< X > *)
static no test(...)
@ value
True if class T defines an ImplementationTag.
Definition typetraits.hh:79
Definition typetraits.hh:69
Definition typetraits.hh:70
Definition typetraits.hh:85
@ value
True if class T defines an ImplementationTag of type V.
Definition typetraits.hh:99
static maybe< std::is_base_of< V, ImplementationTag< X > >::value > test(ImplementationTag< X > *a)
static no test(...)
Definition typetraits.hh:87
char dummy[N+1]
Definition typetraits.hh:87
Definition typetraits.hh:88
Definition typetraits.hh:89
Definition typetraits.hh:105
Helper meta function to delay evaluation of F.
Definition typetraits.hh:134
Meta function that evaluates its argument iff it inherits from meta_function.
Definition typetraits.hh:148
std::conditional< std::is_base_of< meta_function, F >::value, lazy_evaluate< F >, lazy_identity< F > >::type::type type
Definition typetraits.hh:153
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8