Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-04-28 13:18:16

Daniel Walker wrote:

> So, you mean that Bind is definitely going to overload the relational
> operators.

Bind already overloads the relational operators:

in more limited contexts. It is trivial to extend this overloading to work
on expressions that involve no bind calls such as _1 == 5, _1 > _2 or !_4 -
provided that the placeholders aren't inline functions, of course. :-)

> Is that also under consideration by the standard committee?

Not yet.

> Why not bring all the operators into bind and remove (or at
> least largely remove) the need for a separate lambda library to
> support lambda expressions?

The operators that Bind currently supports do not require return type
deduction since their return type is assumed to be bool.

Boost list run by bdawes at, gregod at, cpdaniel at, john at