Per the original idea found in Francis (Grizzly) Smit's Boost Trac issue, add support for conversion specifier 'b' that shall map to std::boolalpha. Given that std::uppercase only applies to numeric inputs, there will be no 'B' conversion specifier support; instead one can follow this documentation to customize the boolean string output:
Proposal
Per the original idea found in Francis (Grizzly) Smit's Boost Trac issue, add support for conversion specifier
'b'
that shall map tostd::boolalpha
. Given thatstd::uppercase
only applies to numeric inputs, there will be no'B'
conversion specifier support; instead one can follow this documentation to customize the boolean string output:http://en.cppreference.com/w/cpp/locale/numpunct/truefalsename