Class format_int

Class Documentation

class fmt::v6::format_int

Fast integer formatter.

Public 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

Returns the number of characters written to the output buffer.

const char *data() const

Returns a pointer to the output buffer content. No terminating null character is appended.

const char *c_str() const

Returns a pointer to the output buffer content with terminating null character appended.

std::string str() const

Returns the content of the output buffer as an std::string.