This functor formats strings in the way that should be done for class fmtd<> More...
#include <fmtd.h>
Public Member Functions | |
size_t | operator() (char 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). | |
size_t | operator() (std::string const &v, char *buffer, int buffsize) |
This functor formats strings in the way that should be done for class fmtd<>
Template parameter T is ignored. This class defines two kinds of strings that it supports, not all kinds imaginable.
Definition at line 87 of file fmtd.h.
size_t operator() | ( | char 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 106 of file fmtd.h.
size_t operator() | ( | std::string const & | v, | |
char * | buffer, | |||
int | buffsize | |||
) |