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 

Convert from C++ value to a string.

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.
true - if the conversion was successful