[tab:format.type.int] (original) (raw)
Table 105 β Meaning of type options for integer types [tab:format.type.int]
πType | Meaning |
---|---|
πb | to_chars(first, last, value, 2);the base prefix is 0b. |
πB | The same as b, except thatthe base prefix is 0B. |
πc | Copies the character static_cast<charT>(value) to the output. Throws format_error if value is not in the range of representable values for charT. |
πd | to_chars(first, last, value). |
πo | to_chars(first, last, value, 8);the base prefix is 0 if value is nonzero and is empty otherwise. |
πx | to_chars(first, last, value, 16);the base prefix is 0x. |
πX | The same as x, except that it uses uppercase letters for digits above 9 andthe base prefix is 0X. |
πnone | The same as d. [Note 8: If the formatting argument type is charT or bool, the default is instead c or s, respectively. β _end note_] |