boostorg / format

Boost.org format module
http://boost.org/libs/format
Boost Software License 1.0
25 stars 51 forks source link

Parse additional ISO C99 format string specifiers #29

Closed jeking3 closed 7 years ago

jeking3 commented 7 years ago

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 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.