static / global operator overload

Namespace rswhite4 at googlemail.com
Sun Aug 18 07:34:12 PDT 2013


I can't find anything so I ask here: what was the decision to 
disallow static or global operator overloads?
In C++ you can declare operator overloads inside and outside of 
classes (the latter is more popular), so why wasn't this 
introduced in D also?

Thanks in advance. :)


More information about the Digitalmars-d-learn mailing list