Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/diff/gen-node.hpp"
metafunction to detect types able to be wrapped into a GenNode.
Only a limited and fixed set of types may be placed within a GenNode, as defined through the typelist lib::diff::DataValues
. This metafunction allows to enable or disable specialisations and definitions based on the fact if a type in question can live within a GenNode.
Definition at line 513 of file gen-node.hpp.
Public Types | |
using | No = lib::meta::No_t |
using | Yes = lib::meta::Yes_t |
Static Public Member Functions | |
template<class X > | |
static Yes | check (typename variant::CanBuildFrom< X, DataValues >::Type *) |
template<class X > | |
static No | check (...) |
Static Public Attributes | |
static const bool | value = (sizeof(Yes)==sizeof(check<ELM>(0))) |