On Sunday, 8 September 2024 at 22:01:10 UTC, WraithGlade wrote:
I want to just be able to write this:``` show!(1 + 2) ```
```d void show(string s)(){ auto res=mixin(s); writeln(s,"==",res); } show!"1+2"; ```
monkyyy via Digitalmars-d-learn Sun, 08 Sep 2024 16:06:41 -0700
On Sunday, 8 September 2024 at 22:01:10 UTC, WraithGlade wrote:
I want to just be able to write this:``` show!(1 + 2) ```
```d void show(string s)(){ auto res=mixin(s); writeln(s,"==",res); } show!"1+2"; ```