areEquatable

Returns true if two things are equatable

template areEquatable (
T...
) if (
T.length == 2
) {}

Members

Manifest constants

areEquatable
enum areEquatable;
Undocumented in source.

Examples

static assert( areEquatable!(1, 2));
static assert(!areEquatable!(1, "yo"));
static assert(!areEquatable!(int, "yo"));
static assert( areEquatable!(int, 1));

Meta