unitizeFunc

Convert a function that returns void, to function that returns Unit

template unitizeFunc(func...)
pragma(inline)
unitizeFunc
(
Args...
)
(
Args args
)
if (
is(typeof(func[0](args)))
)
if (
func.length == 1
)

Members

Functions

unitizeFunc
auto unitizeFunc(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta