Google video about consepts
Georg Wrede
georg at nospam.org
Mon Apr 9 04:22:52 PDT 2007
Reiner Pope wrote:
> I've thought about some kind of syntax to say, "Don't use this template
> -- choose a different overload;" or "prefer this template to that" but
> it seems a bit tricky for user code. It seems that if we really wanted
> it, and expected it to be used, there would have to be *some*
> substantial change to the language to introduce it; either make it
> native to the language, or allow library code to explicitly assist with
> overloading.
I think we should have both.
It's not hard to imagine that the language can assist up to a certain
point, but often the more delicate stuff simply has to be left to the
template author.
More information about the Digitalmars-d
mailing list