|
Boost : |
From: Eric Niebler (eric_at_[hidden])
Date: 2005-05-04 18:21:46
Joe Gottman wrote:
> int key;
> std::string value;
> BOOST_FOREACH(boost::tuples::tie(key, value), theMap)
> {
> std::cout << key << " => " << value << "\n";
> }
That's neat. Maybe I'll add this as an example to the docs.
> Incidentally, if it's not too late I'd like to vote to ACCEPT BOOST_FOREACH
> into boost.
Officially, the review ended Monday.
-- Eric Niebler Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk