Comparing TypeTuples

Tudor Berariu via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Sep 2 01:27:12 PDT 2014


How can I check if two TypeTuples containing both types and 
values are the same?
This fails:

   static assert(is(TypeTuple!(3, int, "Zorro") == TypeTuple!(3, 
int, "Zorro")));

Thank you!
Tudor


More information about the Digitalmars-d-learn mailing list