sprint 1-alpha
|
a dummy class to hold a small buffer (allocated in stack) More...
#include <buffer_cast.h>
Public Member Functions | |
template<class T > | |
buffer_cast (const T &t) | |
the costructor: fill the buffer with T serialized | |
template<class T , class P > | |
buffer_cast (T t, P p) | |
the costructor: fill the buffer with T serialized + 1 parameter | |
operator const char * () const | |
return the pointer to buffer | |
const char * | c_str () const |
return the pointer to buffer (std-like form) |
a dummy class to hold a small buffer (allocated in stack)