www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 529] New: segfault when passing .tupleof to variadic template

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=529

           Summary: segfault when passing .tupleof to variadic template
           Product: D
           Version: 0.174
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: clugdbug yahoo.com.au


struct S { int x; long y; }

template T(Q...)
{
    const int T = 1;
}

void main()
{
   const int a = T!((S.tupleof));
}


-- 
Nov 16 2006
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=529


clugdbug yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from clugdbug yahoo.com.au  2007-01-03 05:50 -------
No longer segfaults in D1.0.


-- 
Jan 03 2007