boost lambda collection size evaluation
I have a function of the form: void DoSomething(const boost::function<bool ()>& condition, other stuff); This function does some work and returns only when the condition is true. The condition has been expressed as a functor argument because I want to supply different conditions at different call sites. Now, this is fairly straightf...