On Friday, 30 June 2017 at 16:43:33 UTC, Stefan Koch wrote:
On Friday, 30 June 2017 at 16:38:45 UTC, bauss wrote:
Is there a way to retrieve the body of a function as a string?
Scenario.
I want to pass a function to a mixin template and just mixin
the body of the function.
Ex.
mixin
On Friday, 30 June 2017 at 16:38:45 UTC, bauss wrote:
Is there a way to retrieve the body of a function as a string?
Scenario.
I want to pass a function to a mixin template and just mixin
the body of the function.
Ex.
mixin template Foo(alias fun) {
void bar() {