Mixin and compile-time functions for code generation
Cecil Ward
cecil at cecilward.com
Sun Jun 25 00:59:41 UTC 2023
On Saturday, 24 June 2023 at 17:43:52 UTC, Adam D Ruppe wrote:
> On Saturday, 24 June 2023 at 17:31:31 UTC, Cecil Ward wrote:
>> Can I get mixin whatever to do this for me? Mixin with a
>> function that runs at compile-time and creates the required
>> source ?
>
> have you tried it?
No, not so far. Adam, if you think that is a workable approach
then I certainly will do so. It’s going to be very awkward
generating literal strings in D code using literal strings in the
meta-mixin-code or whatever I should call it.
More information about the Digitalmars-d-learn
mailing list