The OpenD Programming Language

stripErr

Strips out Err wrapper from the type.

template stripErr (
T
) {}

Examples

static assert(is(stripErr!Exception == Exception));
static assert(is(stripErr!string == string));
static assert(is(stripErr!(Err!string) == string));

Meta