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.