December 14, 2010 [Issue 5352] New: Error: static assert (!true) is-expression with invalid class template instantiation | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Iain Buclaw <ibuclaw@ubuntu.com> 2010-12-14 12:24:58 PST --- 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: ------- |
February 24, 2012 [Issue 5352] Error: static assert (!true) is-expression with invalid class template instantiation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Iain Buclaw | 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 --- Comment #1 from Don <clugdbug@yahoo.com.au> 2012-02-24 00:38:36 PST --- 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: ------- |
Copyright © 1999-2021 by the D Language Foundation