[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_]