From: nospam_at_[hidden]
Date: 2006-01-09 17:24:16


Does anyone know if it is possible to have boost::format parse a printf
style format string, and have the results accessible?

i.e. given a string like "filename_v%02d.%s", I'd like to be able to
parse it and see that there are two arguments, and then retrieve their type.

It seems that all the parsing in boost::format is hidden away
internally. It would be a shame to have to write my own printf format
string parser when I know there is a good one already in there somewhere.

AC.