Re: [Boost-users] algorithms and member functions

21 Sep
2005
21 Sep
'05
4:19 p.m.
" class A { void wee(); }
container<A> as; for_each(in as, a::wee()); "
So as as not to miss the point, I think I'd better expand the pseudo code example just a tad ... " class A { int wee() { return m_wee } // returns bit flag style int int m_wee; }; container<A> as; find_if ( in as, // somehow need to say here "current->wee() & SOME_FLAG" ); " Hope that is a little more clear. Thanks again, Gaz
7095
Age (days ago)
7095
Last active (days ago)
0 comments
1 participants
participants (1)
-
Foster Gareth