SleepyDiscord::json::PrimitiveTypeHelper
Inherits from SleepyDiscord::json::IsPrimitiveTypeFunction< PrimitiveType >, SleepyDiscord::json::IsNumberFunction
inherited members​
Public Functions inherited from SleepyDiscord::json::IsNumberFunction
Name | |
---|---|
bool | isType(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