digitalmars.D.bugs - [Issue 4190] New: unable reduce aseert partial template in "is"
- d-bugmail puremagic.com (32/32) May 14 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4190
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
---
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: -------
May 14 2010








d-bugmail puremagic.com