This functor formats ints, shorts, char, unsigned, long, long long, etc. in the way that should be done for class fmtd<> More...
#include <fmtd.h>
Public Member Functions | |
size_t | operator() (T const &v, char *buffer, int buffsize) |
Convert the specified value into an ascii string and return the length. Do not write more than buffsize bytes (including the trailing null). |
This functor formats ints, shorts, char, unsigned, long, long long, etc. in the way that should be done for class fmtd<>
Definition at line 225 of file fmtd.h.
size_t operator() | ( | T const & | v, | |
char * | buffer, | |||
int | buffsize | |||
) |
Convert the specified value into an ascii string and return the length. Do not write more than buffsize bytes (including the trailing null).
Obeys the template parameters.
Fills the output with errchr if the data won't fit.
Definition at line 231 of file fmtd.h.