20
General utilities library
[utilities]
20.20
Formatting
[format]
20.20.2
Format string
[format.string]
20.20.2.2
Standard format specifiers
[format.string.std]
Table 59: Meaning of
align
optionsβ
[tab:format.align]
π
Option
Meaning
π
<
Forces the field to be aligned to the start of the available space
.
This is the default for non-arithmetic types,
charT
, and
bool
, unless an integer presentation type is specified
.
π
>
Forces the field to be aligned to the end of the available space
.
This is the default for arithmetic types other than
charT
and
bool
or when an integer presentation type is specified
.
π
^
Forces the field to be centered within the available space by inserting
β
n
2
β
characters before and
β
n
2
β
characters after the value, where
n
is the total number of fill characters to insert
.