templateNot

template templateNot (
alias pred
) if (
__traits(isTemplate, pred)
) {}

Members

Variables

templateNot
enum bool templateNot(T...);
Undocumented in source.

Parameters

pred

Template predicate.

Return Value

Negated pred.

Examples

alias isNotIntegral = templateNot!isIntegral;
static assert(!isNotIntegral!int);
static assert(isNotIntegral!(char[]));

Meta