mixin template compile-time compute declared name

NonNull non-null at use.startmail.com
Sat Jun 27 22:02:08 UTC 2020


On Saturday, 27 June 2020 at 21:23:10 UTC, Adam D. Ruppe wrote:
> On Saturday, 27 June 2020 at 21:10:59 UTC, NonNull wrote:
>> Is it possible to use a template to declare something whose 
>> name is computed at compile time?
>
> You'd have to string mixin the contents inside the mixin 
> template.

Worked! Thank you!!


More information about the Digitalmars-d-learn mailing list