Traits in a template enum

Mike Parker aldacron at gmail.com
Sun Oct 10 14:39:52 UTC 2021


On Sunday, 10 October 2021 at 12:56:30 UTC, Some Guy wrote:

> But I did not understand what you meant by "enums hold values, 
> not types". Aren't types values at compile time?

Types can be template arguments, if that's what you mean, but 
they aren't values.


More information about the Digitalmars-d-learn mailing list