|
Boost Users : |
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2008-07-20 17:28:44
On Sat, Jul 19, 2008 at 9:24 PM, Steven Watanabe <watanabesj_at_[hidden]>
wrote:
> 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.
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