valueFunctor

Constructs a nullary functor which simply returns a value specified at compile-time. Like () => value, but without the indirect call.

  1. auto valueFunctor()
    valueFunctor
    (
    alias value
    )
    ()
  2. auto valueFunctor(Value value)

Meta