|
Boost Users : |
From: Foster Gareth (gareth.foster_at_[hidden])
Date: 2005-09-21 11:19:11
> "
> 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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net