id

Identity function.

T
id
(
T
)
(
T x
)

Examples

auto f = IdentityFunction!int.get;
assert (f(0) == 0);

Meta