Template specialization using traits?
Shriramana Sharma via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Dec 21 06:24:53 PST 2015
Thanks all for your replies. One question:
Jonathan M Davis wrote:
> Alternatively, you can use static if, though you're only dealing
> with one template in that case. e.g.
But if we wanted to deprecate one of the alternatives, then we necessary
need to declare two templates with the same name and complementary
Shriramana Sharma, Penguin #395953
More information about the Digitalmars-d-learn