enum strings in import
user1234
user1234 at 12.de
Wed May 4 18:00:21 UTC 2022
On Tuesday, 3 May 2022 at 20:47:25 UTC, user1234 wrote:
> On Monday, 2 May 2022 at 12:03:20 UTC, Quirin Schroll wrote:
>> On Wednesday, 27 April 2022 at 15:23:32 UTC, IGotD- wrote:
>>> [...]
>>
>> The simplest solution is to allow `mixin(expression)` not only
>> to generate declarations, expressions and statements, but also
>> to generate identifiers.
>
> No change is required to mixins.
>
> A mixin that gives an expression would work. From the resulting
> expression you can trivially extract Identifier(s) from
> IdentExp or chain of them.
https://www.youtube.com/watch?v=44h6GzF7izU
More information about the Digitalmars-d
mailing list