[Issue 4190] New: unable reduce aseert partial template in "is"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 14 22:01:25 PDT 2010


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 at puremagic.com
        ReportedBy: galaxylang at gmail.com


--- Comment #0 from galaxylang <galaxylang at 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: -------


More information about the Digitalmars-d-bugs mailing list