zug::
tuplify
¶Function object that forwards its argument if one single argument passed, otherwise it returns a tuple with all the passed in arguments.
zug::
noop
¶Function object that takes any number of arguments and does nothing, returning void
.
zug::
identity
¶Function object that returns the value that is passed to it.
zug::
identity_
¶Similar to identity
, but it never returns a reference to the pased in value.
zug::
constantly
(T &&value)¶Returns a function with no arguments that always returns the value
.