
17 Feb
2009
17 Feb
'09
4:31 p.m.
I use an iterator adapator that converts a pair of scalar iterators into a complex iterator. But how to go the other direction? Take a complex iterator to a pair of scalar iterators. This is something like 'unzip'. Any thoughts?

17 Feb
17 Feb
6:09 p.m.
on Tue Feb 17 2009, Neal Becker
I use an iterator adapator that converts a pair of scalar iterators into a complex iterator. But how to go the other direction? Take a complex iterator to a pair of scalar iterators.
This is something like 'unzip'. Any thoughts?
It's just a projection; you could use transform_iterator. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
5847
Age (days ago)
5847
Last active (days ago)
1 comments
2 participants
participants (2)
-
David Abrahams
-
Neal Becker