The OpenD Programming Language

isCodepointSet

Tests if T is some kind a set of code points. Intended for template constraints.

@safe
template isCodepointSet (
T
) {
@safe
static if(is(T dummy == InversionList!(Args), Args...))
enum isCodepointSet;
@safe
static if(!(is(T dummy == InversionList!(Args), Args...)))
enum isCodepointSet;
}

Meta