
6 Aug
2005
6 Aug
'05
5:51 p.m.
"Andy Little" <andy@servocomm.freeserve.co.uk> 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 www.boost-consulting.com