renature

Renatures F to SIG on args to create a new arbitrary signature.

template renature(alias F, SIG...)
@nogc
renature
(
ARGS...
)
(
auto ref ARGS args
)
if (
__traits(compiles, )
)
if (
SIG.length >= 1
)

Members

Functions

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

Parameters

F

The function to renature.

SIG

The new signature of F after renaturing.

args

The arguments to renature F to.

Return Value

A SIG function which invokes F on args.

Meta