30 Localization library [localization]

30.4 Standard locale categories [locale.categories]

30.4.3 The numeric category [category.numeric]

30.4.3.3 Class template num_put [locale.nm.put]

30.4.3.3.3 Virtual functions [facet.num.put.virtuals]

Table 110: Integer conversions [tab:facet.num.put.int]
State
stdio equivalent
basefield == ios_base​::​oct
%o
(basefield == ios_base​::​hex) && !uppercase
%x
(basefield == ios_base​::​hex)
%X
for a signed integral type
%d
for an unsigned integral type
%u