Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2000-11-20 14:11:16


Mark Rodgers wrote:
> template <class Predicate>
> unary_negate<Predicate> not1(const Predicate &pred)
> {
> // ... as now
> }
>
> // new
> template <class Predicate>
> unary_negate<Predicate> not1(Predicate &pred)
> {
> return unary_negate<Predicate>(pred);
> }
>
> What does Comeau make of this?

It works.

I am looking forward to your updating the CVS :-)

(I still have the Borland workaround cast in my copy of
boost/functional.hpp, though. Can we do away with it since we
now have BCC 5.5.1?)

Jens Maurer


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk