Can't print enum values

vit vit at vit.vit
Thu Aug 30 12:04:26 UTC 2018


On Thursday, 30 August 2018 at 11:34:36 UTC, Andrey wrote:
> On Thursday, 30 August 2018 at 11:09:40 UTC, vit wrote:
>> [...]
>
> I want to create a reusable template for this purpose.
> Why I can't use "staticMap" so that compiler it self would do 
> this:
>>[...]
> Just wrap some some symbol "args" with some expression at 
> compile time.
>
> It is the same as in C++:
>>[...]

D doesn't have expanding like C++

Unfortunately D has only simple automatic expading.


More information about the Digitalmars-d-learn mailing list