MADARA
3.1.8
|
Trait to test if type supports knowledge_cast (both to and from) More...
#include <BaseTracker.h>
Public Types | |
using | type = decltype(test< T >(0)) |
Static Public Member Functions | |
template<typename U > | |
static auto | test (U *p) -> decltype(((knowledge_cast(get_value(*p)), knowledge_cast< decltype(get_value(*p))>(std::declval< KnowledgeRecord >()))), std::true_type()) |
template<typename U > | |
static auto | test (...) -> std::false_type |
Trait to test if type supports knowledge_cast (both to and from)
Definition at line 202 of file BaseTracker.h.
using madara::knowledge::rcw::supports_knowledge_cast_impl< T >::type = decltype(test<T>(0)) |
Definition at line 202 of file BaseTracker.h.
|
static |
|
static |