20 Jul
2008
20 Jul
'08
9:28 p.m.
On Sat, Jul 19, 2008 at 9:24 PM, Steven Watanabe
It depends on what you mean by conformant. Algorithms like for_each do not require these typedefs. Adapters like not1 do. If you need to adapt an arbitrary function object, you're safer using !boost::bind<bool>(pred) instead of std::not1. This will also work with function pointers. (Which std::not1 doesn't handle)
If only I could! Using Boost throughout would be far-and-away the best solution, trouble is at the point of definition of if_all( ) I don't have, and can't make, Boost available, whereas at the point of use I have. Thanks for all your help. Rob.