Boost logo

Boost :

From: Kresimir Fresl (fresl_at_[hidden])
Date: 2003-05-08 03:12:14


Matthias Troyer wrote:

> That's a good point. I have prepared a version separate from
> functional.hpp and posted it on our web server:

> http://www.comp-phys.org/software/function_objects/

Shouldn't the default type of the result of `logical_and'
and `logical_or' be `bool' and not `Arg1'?

I think that even for user defined types overloaded
operators && and || will usually return boolean values.

fres


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