Default template arguments

bearophile bearophileHUGS at lycos.com
Mon Nov 19 13:58:44 PST 2012


Tobias Pankrath:

> Most of the times you use this pattern, you'll get an template 
> error down in printSizeHelper, but you want your template 
> hierarchy to fail as soon as possible.

Right, my code wasn't complete, it's just a draft. It needs some 
template constraints.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list