4 Apr
2005
4 Apr
'05
6:39 p.m.
To anyone interested, I ended up writing for_each
typedef set<int>::const_iterator cIterType;
cIterType bit = mySet.begin(); cIterType eit = >mySet.end();
for_each(ref(bit), ref(eit),
if_(bind(boost::next<cIterType>, boost::ref(bit)) != mySet.end())
[...]