Compare

Compares two groups for element identity

template Compare (
alias Group1
alias Group2
) if (
isGroup!Group1 &&
isGroup!Group2
) {}

Members

Manifest constants

Compare
enum Compare;
Undocumented in source.

Return Value

true if each element of Group1 is identical to the one of Group2 at the same index

Examples

alias one = Group!(int, double);
alias two = Group!(int, double);
alias three = Group!(double, int);
static assert (Compare!(one, two));
static assert (!Compare!(one, three));

Meta