1.7.2.9
Gameface
cohtml::CoherentToString< T > Struct Template Reference

Static Public Member Functions

static bool Invoke (const T &v, char *buffer, size_t *length)
 Convert from C++ value to a string. More...
 

Member Function Documentation

◆ Invoke()

template<typename T>
static bool cohtml::CoherentToString< T >::Invoke ( const T &  v,
char *  buffer,
size_t *  length 
)
inlinestatic

Convert from C++ value to a string.

Parameters
v- the C++ value
buffer- output parameter for the value
length- output parameter for the length of the string. Set this to the number of bytes required including the null terminator.
Returns
true - if the conversion was successful