Return a new Function object with the returnType attribute set to value.
pure int answer(); mixin( refract!(answer, "answer").setName("realAnswer") .setReturnType("real") .mixture); static assert(is(typeof(realAnswer()) == real));
See Implementation
Return a new Function object with the returnType attribute set to value.