#include <format.h>
Public Member Functions | |
format_int (int value) | |
format_int (long value) | |
format_int (long long value) | |
format_int (unsigned value) | |
format_int (unsigned long value) | |
format_int (unsigned long long value) | |
std::size_t | size () const |
const char * | data () const |
const char * | c_str () const |
std::string | str () const |
Private Types | |
enum | { BUFFER_SIZE = std::numeric_limits<unsigned long long>::digits10 + 3 } |
Private Member Functions | |
char * | format_decimal (unsigned long long value) |
void | format_signed (long long value) |
Private Attributes | |
char | buffer_ [BUFFER_SIZE] |
char * | str_ |
|
private |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
Returns a pointer to the output buffer content with terminating null character appended.
Definition at line 2876 of file format.h.
|
inline |
|
inlineprivate |
Definition at line 2822 of file format.h.
|
inlineprivate |
|
inline |
Returns the number of characters written to the output buffer.
Definition at line 2862 of file format.h.
|
inline |
|
mutableprivate |