Preparing for the New DIP Process

Ogi ogion.art at gmail.com
Fri Jan 26 08:03:29 UTC 2024


On Thursday, 25 January 2024 at 08:58:29 UTC, Danilo wrote:
>
> You can use `q{}`
>

```D
string wrap(string f) {
     return "void wrap_"~f~"() { "~f~"(); }";
}
void fun() {}
mixin(wrap("fun"));
```
Not only `q{}` will make this even less readable—it won’t even 
work.


More information about the Digitalmars-d-announce mailing list