May 15, 2010 [Issue 4190] New: unable reduce aseert partial template in "is" | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=4190 Summary: unable reduce aseert partial template in "is" Product: D Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: galaxylang@gmail.com --- Comment #0 from galaxylang <galaxylang@gmail.com> 2010-05-14 22:01:23 PDT --- class if_else(I,E) { } template reduce(T) { //here,can't be complie becase if_else not instanced //also there is no way to alias the I and E static if(is(T:if_else)) { }else { } } void main() { } -- 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