The OpenD Programming Language

templateNot

Negates the passed template predicate.

template templateNot (
alias pred
) {}

Examples

import std.traits : isPointer;

alias isNoPointer = templateNot!isPointer;
static assert(!isNoPointer!(int*));
static assert(allSatisfy!(isNoPointer, string, char, float));

Meta