Return a new Function object with the static_ attribute set to value.
struct Question { static int answer() { return 42; } } mixin( refract!(Question.answer, "Question.answer") .withStatic(false) .withBody("{ return Question.answer; }") .mixture); static assert(answer() == 42);
See Implementation
Return a new Function object with the static_ attribute set to value.