Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-08-06 12:51:17

"Andy Little" <andy_at_[hidden]> writes:

> The use of the dummy expression |frobnicates| is a poor substitute
> for a user defined operator.

Best we can do today. And it's not bad, once you understand how the
library works. Just like in Boost.Lambda a+b doesn't add anything:
it builds a function object. Just like in Boost.Spirit the operators
are used for parsing.
> Should C++ incorporate a facility to define ones own
> operators?

Yes, it should. But that's for another day and another forum :)

Dave Abrahams
Boost Consulting

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