Comparing TypeTuples

2014-09-02 Thread Tudor Berariu via Digitalmars-d-learn
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

Re: Comparing TypeTuples

2014-09-02 Thread monarch_dodra via Digitalmars-d-learn
On Tuesday, 2 September 2014 at 08:27:14 UTC, Tudor Berariu wrote: 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 Yeah, this fails because you can