Custom binary operators
H. S. Teoh
hsteoh at quickfur.ath.cx
Sun Dec 29 22:12:29 PST 2013
On Mon, Dec 30, 2013 at 05:34:10AM +0100, Marco Leise wrote:
> Am Sat, 28 Dec 2013 15:24:31 +0000
> schrieb "Dicebot" <public at dicebot.lv>:
>
> > AFAIK it is intentionally banned to constrain operator
> > overloading abuse.
>
> That and it makes the compiler faster.
[...]
And discourages writing unreadable code like that C++ regex template
library that turns expressions into something that's neither (numerical)
expressions nor regular expressions. Operator overloading abuse at its
finest.
T
--
"Real programmers can write assembly code in any language. :-)" -- Larry Wall
More information about the Digitalmars-d-learn
mailing list