Overloading Operator !

Rob Atkinson Robert.Atkinson at gmail.com
Wed Oct 25 12:19:33 PDT 2006


I've been working on my own EBNF parser (basically a D version of boost's
spirit) but I just realised that you can't overload unary !

Walter, are there any plans to do overload additional operators?  The docs state:
Future Directions
The operators =, !, ., &&, ||, ?:, and a few others will likely never be
overloadable.

If we're close to 1.0 should this be changed to "will not be overloadable"?
Or will some more squeeze in before 1.0?

I've already worked around ! with a slightly different syntax (which I think
is better than boost's) so I don't need unary !, just more of a general question.



More information about the Digitalmars-d mailing list