Skip to main content

SleepyDiscord::json::PrimitiveTypeHelper

More...

Inherits from SleepyDiscord::json::IsPrimitiveTypeFunction< PrimitiveType >, SleepyDiscord::json::IsNumberFunction

inherited members​

Public Functions inherited from SleepyDiscord::json::IsNumberFunction

Name
boolisType(const Value & value)

Detailed Description​

template <class PrimitiveType ,
int defaultValue =0>
struct SleepyDiscord::json::PrimitiveTypeHelper;

Public Functions Documentation​

function toType​

static inline PrimitiveType toType(
const Value & value
)

function empty​

static inline bool empty(
const PrimitiveType & value
)

function fromType​

static inline Value fromType(
const PrimitiveType & value
)

function fromType​

static inline Value fromType(
const PrimitiveType & value,
Value::AllocatorType &
)

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