
24 Sep
2004
24 Sep
'04
12:16 a.m.
"Maxim Yegorushkin" <e-maxim@yandex.ru> writes:
I was working on some code where I got some parameters as pairs of strings [name, value]. In my code I needed to convert those values to int's, doubles, etc (i.e. deserialize). And I wanted to convert them in bunch. I thought it was a great job for lexical_cast and tuple::tie.
The only thing I missed was something like for_each for tuples. Is there going to be such a mechanism?
Yeah. After this release we're replacing Boost tuples with the fusion library (see boost/spirit/fusion), which has for_each and much much more. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com