How can I enforce an parameter to be constant know at compile time?

Adam D. Ruppe destructionator at gmail.com
Tue Jun 12 18:31:25 UTC 2018


On Tuesday, 12 June 2018 at 18:27:17 UTC, Dr.No wrote:
> How can I enforce that?

Only way is to make it a compile time (template) param.


More information about the Digitalmars-d-learn mailing list