This commit is contained in:
Victor Zverovich 2014-07-26 07:26:04 -07:00
parent aa6aa4207e
commit 37356c3f5e

View File

@ -364,6 +364,7 @@ public:
static char convert(char value) { return value; } static char convert(char value) { return value; }
// Formats a floating-point number.
template <typename T> template <typename T>
static int FormatFloat(char *buffer, std::size_t size, static int FormatFloat(char *buffer, std::size_t size,
const char *format, unsigned width, int precision, T value); const char *format, unsigned width, int precision, T value);