Per the Boost.Format documentation, argument types are ignored, however there are some newer ones that appeared in ISO C99 which should be parsed at least so that an exception is not thrown:
Currently, using 'hh', 'h', 'l', 'll', and 'L' parse properly, however using 'j' or 'z', cause a boost::io::bad_format_string.
The argument type specifier 't' from C++11 cannot be honored by boost::format because 'T' and 't' are used in boost::format for tabulations.
Argument Types
Per the Boost.Format documentation, argument types are ignored, however there are some newer ones that appeared in ISO C99 which should be parsed at least so that an exception is not thrown:
Currently, using
'hh'
,'h'
,'l'
,'ll'
, and'L'
parse properly, however using'j'
or'z'
, cause aboost::io::bad_format_string
.The argument type specifier
't'
from C++11 cannot be honored by boost::format because'T'
and't'
are used in boost::format for tabulations.