Skip to main content

SleepyDiscord::json::ClassTypeHelper

More...

Detailed Description​

template <class Type >
struct SleepyDiscord::json::ClassTypeHelper;

Public Functions Documentation​

function toType​

template <class Value >
static inline Type toType(
Value & value
)

function fromType​

template <class T >
static inline std::enable_if< hasSerialize< T >::value, Value >::type fromType(
const T & value,
Value::AllocatorType & allocator
)

function fromType​

template <class T >
static inline std::enable_if< hasSerialize< T >::value==false, Value >::type fromType(
const T & value,
Value::AllocatorType & allocator
)

function isType​

template <class T  =Type>
static inline std::enable_if< hasIsType< T >::value, bool >::type isType(
const Value & value
)

function isType​

template <class T  =Type>
static inline std::enable_if<!hasIsType< T >::value, bool >::type isType(
const Value & value
)

Updated on 13 April 2022 at 18:39:59 UTC