Boost logo

Boost :

From: Michael Marcin (mmarcin_at_[hidden])
Date: 2007-03-14 14:54:17


Frank Mori Hess wrote:
>
> I have to say I really am not a big fan of needless overloading of the
> languages operators like logical || and &&. Especially when you are
> overloading them with functions that really don't correspond to the
> original operators. What if I want to overload || with a function that
> actually does correspond to logical or, like
>
> Future<bool> operator||(const Future<T> &a, const Future<U> &b);

This seems like a reasonable argument against these composition overloads.

- Michael Marcin


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