[Issue 4239] Mixed tuple comparison
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed May 26 14:58:59 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4239
nfxjfg at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nfxjfg at gmail.com
--- Comment #1 from nfxjfg at gmail.com 2010-05-26 14:58:55 PDT ---
This seems to work fine:
struct X(T...) { }
static assert(is(X!(int, int) == X!(int, int)));
static assert(is(X!(int, "foo") == X!(int, "foo")));
static assert(!is(X!(int, "foo") == X!("foo", int)));
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list