Template parameters that don't affect template type

sldkf via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Aug 11 11:30:01 PDT 2016


On Thursday, 11 August 2016 at 18:11:30 UTC, Engine Machine wrote:
> Is there any way to get D to understand I want do not want a 
> template parameter to be part of the type comparison?

No. Use a standard run-time parameter. Your problem can be solved 
by defining a constructor.


More information about the Digitalmars-d-learn mailing list