Style
This commit is contained in:
parent
b01b594631
commit
2cae664104
@ -120,7 +120,7 @@ custom argument formatter class::
|
|||||||
// A custom argument formatter that formats negative integers as unsigned
|
// A custom argument formatter that formats negative integers as unsigned
|
||||||
// with the ``x`` format specifier.
|
// with the ``x`` format specifier.
|
||||||
class CustomArgFormatter :
|
class CustomArgFormatter :
|
||||||
public fmt::BasicArgFormatter<CustomArgFormatter, char> {
|
public fmt::BasicArgFormatter<CustomArgFormatter, char> {
|
||||||
public:
|
public:
|
||||||
CustomArgFormatter(fmt::BasicFormatter<char, CustomArgFormatter> &f,
|
CustomArgFormatter(fmt::BasicFormatter<char, CustomArgFormatter> &f,
|
||||||
fmt::FormatSpec &s, const char *fmt)
|
fmt::FormatSpec &s, const char *fmt)
|
||||||
|
|||||||
@ -14,8 +14,8 @@ using fmt::BasicPrintfArgFormatter;
|
|||||||
|
|
||||||
// A custom argument formatter that doesn't print `-` for floating-point values
|
// A custom argument formatter that doesn't print `-` for floating-point values
|
||||||
// rounded to 0.
|
// rounded to 0.
|
||||||
class CustomArgFormatter :
|
class CustomArgFormatter
|
||||||
public fmt::BasicArgFormatter<CustomArgFormatter, char> {
|
: public fmt::BasicArgFormatter<CustomArgFormatter, char> {
|
||||||
public:
|
public:
|
||||||
CustomArgFormatter(fmt::BasicFormatter<char, CustomArgFormatter> &f,
|
CustomArgFormatter(fmt::BasicFormatter<char, CustomArgFormatter> &f,
|
||||||
fmt::FormatSpec &s, const char *fmt)
|
fmt::FormatSpec &s, const char *fmt)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user