28 Text processing library [text]

28.3 Localization library [localization]

28.3.4 Standard locale categories [locale.categories]

28.3.4.3 The numeric category [category.numeric]

28.3.4.3.3 Class template num_put [locale.nm.put]

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

Table 97 — 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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant