digitalmars.D.bugs - [Issue 5352] New: Error: static assert (!true) is-expression with invalid class template instantiation
- d-bugmail puremagic.com (27/27) Dec 14 2010 http://d.puremagic.com/issues/show_bug.cgi?id=5352
- d-bugmail puremagic.com (13/13) Feb 24 2012 http://d.puremagic.com/issues/show_bug.cgi?id=5352
http://d.puremagic.com/issues/show_bug.cgi?id=5352 Summary: Error: static assert (!true) is-expression with invalid class template instantiation Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: ibuclaw ubuntu.com I'm pretty certain this static assert should pass, as is(furble!(int)) should evaluate to false because it can't be instantiated. Note, changing 'class' for 'struct' and it passes. class furble(T) { this(){ gurgle; } } static assert(! is(furble!(int)) ); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 14 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5352 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |clugdbug yahoo.com.au Resolution| |DUPLICATE Happens with structs as well, and it's a duplicate *** This issue has been marked as a duplicate of issue 965 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 24 2012