Constructs a nullary functor which simply returns a value specified at run-time. Like () => value, but without the closure and indirect call.
assert(valueFunctor(5)() == 5); assert(valueFunctor!5()() == 5);
See Implementation
Constructs a nullary functor which simply returns a value specified at run-time. Like () => value, but without the closure and indirect call.