format_argument
void format_argument(FormatBuffer &buffer, bool value) noexceptParameters
| Name | Type |
|---|---|
buffer | FormatBuffer & |
value | bool |
Description
Writes "true" or "false".
void format_argument(FormatBuffer &buffer, char value) noexceptParameters
| Name | Type |
|---|---|
buffer | FormatBuffer & |
value | char |
Description
Writes value as one character.
void format_argument(FormatBuffer &buffer, long long value) noexceptParameters
| Name | Type |
|---|---|
buffer | FormatBuffer & |
value | long long |
Description
Writes value in decimal through std::to_chars.
void format_argument(FormatBuffer &buffer, unsigned long long value) noexceptParameters
| Name | Type |
|---|---|
buffer | FormatBuffer & |
value | unsigned long long |
Description
Writes value in decimal through std::to_chars.
void format_argument(FormatBuffer &buffer, float value) noexceptParameters
| Name | Type |
|---|---|
buffer | FormatBuffer & |
value | float |
Description
Writes the shortest round-trip form of value through std::to_chars.
void format_argument(FormatBuffer &buffer, double value) noexceptParameters
| Name | Type |
|---|---|
buffer | FormatBuffer & |
value | double |
Description
Writes the shortest round-trip form of value through std::to_chars.
void format_argument(FormatBuffer &buffer, const void *value) noexceptParameters
| Name | Type |
|---|---|
buffer | FormatBuffer & |
value | const void * |
Description
Writes value as 0x-prefixed hexadecimal.
void format_argument(FormatBuffer &buffer, const char *value) noexceptParameters
| Name | Type |
|---|---|
buffer | FormatBuffer & |
value | const char * |
Description
Copies the C string value, or writes "(null)".
void format_argument(FormatBuffer &buffer, std::nullptr_t value) noexceptParameters
| Name | Type |
|---|---|
buffer | FormatBuffer & |
value | std::nullptr_t |
Description
Writes "(null)".
void format_argument(FormatBuffer &buffer, std::string_view value) noexceptParameters
| Name | Type |
|---|---|
buffer | FormatBuffer & |
value | std::string_view |
Description
Copies value.
void format_argument(FormatBuffer &buffer, const std::string &value) noexceptParameters
| Name | Type |
|---|---|
buffer | FormatBuffer & |
value | const std::string & |
Description
Copies value.
template <typename Integer, typename std::enable_if< std::is_integral< Integer >::value &&!std::is_same< Integer, bool >::value &&!std::is_same< Integer, char >::value, int >::type = 0>
void format_argument(FormatBuffer &buffer, Integer value) noexceptParameters
| Name | Type |
|---|---|
buffer | FormatBuffer & |
value | Integer |
Description
Writes a non-bool, non-char integer by widening it to a 64-bit overload.
template <typename Enumeration, typename std::enable_if< std::is_enum< Enumeration >::value, int >::type = 0>
void format_argument(FormatBuffer &buffer, Enumeration value) noexceptParameters
| Name | Type |
|---|---|
buffer | FormatBuffer & |
value | Enumeration |
Description
Writes an enumeration as its underlying integer.
template <typename Pointee, typename std::enable_if<!std::is_same< typename std::remove_cv< Pointee >::type, char >::value, int >::type = 0>
void format_argument(FormatBuffer &buffer, Pointee *value) noexceptParameters
| Name | Type |
|---|---|
buffer | FormatBuffer & |
value | Pointee * |
Description
Writes a non-character object pointer as its address.

