9 Jan
2006
9 Jan
'06
10:24 p.m.
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.