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: nob...@puremagic.com ReportedBy: ibuc...@ubuntu.com --- Comment #0 from Iain Buclaw <ibuc...@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: -------