[Issue 1575] New: Cannot do assignment of tuples
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Thu Oct 11 21:08:30 PDT 2007
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=1575
           Summary: Cannot do assignment of tuples
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: bugzilla at digitalmars.com
The following fails to compile:
template Tuple(T...)
{
    alias T Tuple;
}
alias Tuple!(int, long) TX
void foo(TX t)
{
    TX s;
    s = t;
}
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list