#include <format.h>
|
enum | { buffer_size = std::numeric_limits<unsigned long long>::digits10 + 3
} |
|
Fast integer formatter.
Definition at line 3970 of file format.h.
◆ anonymous enum
◆ format_int() [1/6]
format_int::format_int |
( |
int |
value | ) |
|
|
inlineexplicit |
◆ format_int() [2/6]
format_int::format_int |
( |
long |
value | ) |
|
|
inlineexplicit |
◆ format_int() [3/6]
format_int::format_int |
( |
long long |
value | ) |
|
|
inlineexplicit |
◆ format_int() [4/6]
format_int::format_int |
( |
unsigned |
value | ) |
|
|
inlineexplicit |
◆ format_int() [5/6]
format_int::format_int |
( |
unsigned long |
value | ) |
|
|
inlineexplicit |
◆ format_int() [6/6]
format_int::format_int |
( |
unsigned long long |
value | ) |
|
|
inlineexplicit |
◆ c_str()
auto format_int::c_str |
( |
| ) |
const -> const char* |
|
inline |
Returns a pointer to the output buffer content with terminating null character appended.
Definition at line 4016 of file format.h.
◆ data()
auto format_int::data |
( |
| ) |
const -> const char* |
|
inline |
Returns a pointer to the output buffer content. No terminating null character is appended.
Definition at line 4010 of file format.h.
◆ format_signed()
template<typename Int >
auto format_int::format_signed |
( |
Int |
value | ) |
-> char* |
|
inlineprivate |
◆ format_unsigned()
template<typename UInt >
auto format_int::format_unsigned |
( |
UInt |
value | ) |
-> char* |
|
inlineprivate |
◆ size()
auto format_int::size |
( |
| ) |
const -> size_t |
|
inline |
Returns the number of characters written to the output buffer.
Definition at line 4002 of file format.h.
◆ str()
auto format_int::str |
( |
| ) |
const -> std::string |
|
inline |
\rst Returns the content of the output buffer as an std::string
. \endrst
Definition at line 4026 of file format.h.
◆ buffer_
◆ str_
The documentation for this class was generated from the following file: