Variable Compare
Compares two groups for element identity
Declaration
module vibe.internal.meta.typetuple;
// ...
void
Compare(alias Group1, alias Group2);
// ...
Parameters
Name | Description |
---|
Returns
`true` if each element of Group1 is identical to the one of Group2 at the same index
Example
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));
Authors
Михаил Страшун
Copyright
© 2013 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.