anyTuple

Detect whether a generic tuple A contains an element satisfying the predicate pred.

Members

Aliases

predTemplate
alias predTemplate = unaryPred!pred
Undocumented in source.

Manifest constants

anyTuple
enum anyTuple;
Undocumented in source.
anyTuple
enum anyTuple;
Undocumented in source.
anyTuple
enum anyTuple;
Undocumented in source.

Examples

static assert(!anyTuple!(`true`));
static assert( anyTuple!(`isIntegral!T`, float, int));
static assert(!anyTuple!(`a < 2`, 2, 3));

Analog of $(STDREF algorithm, any) for generic tuples except pred must be explicitly specified.

Meta