This functor formats floats, doubles, and long doubles 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 floats, doubles, and long doubles in the way that should be done for class fmtd<>
Definition at line 160 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 166 of file fmtd.h.