TDPL: Operator Overloading
bearophile
bearophileHUGS at lycos.com
Tue Aug 24 18:50:39 PDT 2010
Ali Ãehreli:
> It is the same in C++: the name of the template is equivalent to the
> current instantiation of the template.
> ...
> It seems to be the same in D. I don't know whether this is intended, or
> just a left over from the C++ parts of dmd. (I assume dmd shares code
> with the Digital Mars C++ compiler.)
I don't like this "feature" much, it has caused me troubles:
http://d.puremagic.com/issues/show_bug.cgi?id=3950
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list