|
dune-typetree 2.11
|
Loading...
Searching...
No Matches
typetraits.hh
Go to the documentation of this file.
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
typename std::decay_t< Node >::NodeTag NodeTag
Returns the node tag of the given Node.
Definition nodeinterface.hh:70
typename std::decay_t< T >::ImplementationTag ImplementationTag
Returns the implementation tag of the given Node.
Definition nodeinterface.hh:74
constexpr auto isTreePath(void *) -> std::false_type
Definition typetraits.hh:155
static constexpr size_type N()
constexpr auto isTreePath(const T &) -> IsTreePath< T >
Check if given object represents a tree path.
Definition typetraits.hh:193
T * declptr()
Helper function for generating a pointer to a value of type T in an unevaluated operand setting.
Definition typetraits.hh:21
Definition typetraits.hh:33
static constexpr bool value
True if class T defines a NodeTag.
Definition typetraits.hh:43
static yes test(NodeTag< X > *)
static no test(...)
Definition typetraits.hh:34
Definition typetraits.hh:35
Definition typetraits.hh:48
static maybe< std::is_base_of< V, NodeTag< X > >::value > test(NodeTag< X > *a)
static constexpr bool value
True if class T defines a NodeTag of type V.
Definition typetraits.hh:61
static no test(...)
Definition typetraits.hh:50
Definition typetraits.hh:51
Definition typetraits.hh:52
Definition typetraits.hh:66
static yes test(ImplementationTag< X > *)
static no test(...)
static constexpr bool value
True if class T defines an ImplementationTag.
Definition typetraits.hh:76
Definition typetraits.hh:67
Definition typetraits.hh:68
Definition typetraits.hh:81
static maybe< std::is_base_of< V, ImplementationTag< X > >::value > test(ImplementationTag< X > *a)
static no test(...)
static constexpr bool value
True if class T defines an ImplementationTag of type V.
Definition typetraits.hh:94
Definition typetraits.hh:83
char dummy[N+1]
Definition typetraits.hh:83
Definition typetraits.hh:84
Definition typetraits.hh:85
Definition typetraits.hh:99
Helper meta function to delay evaluation of F.
Definition typetraits.hh:128
Meta function that evaluates its argument iff it inherits from meta_function.
Definition typetraits.hh:142
std::conditional< std::is_base_of< meta_function, F >::value, lazy_evaluate< F >, lazy_identity< F > >::type::type type
Definition typetraits.hh:147
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8