Re: Re: STL algorithms & references (David Abrahams)

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())
[...]
7264
Age (days ago)
7264
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sean DeNigris