10 Jan
2006
10 Jan
'06
3:19 p.m.
-----Original Message----- 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.
AC, I don't know how hard it would be to do this in boost::format, but it would be straightforward to use the functions in the iof library (http://iof.sourceforge.net/api_doxy/files.html). This is not a boost library, so let me know off-list if you want more info. Cheers, Oliver