Re: SList!(Tuple!int) == error?

2012-10-15 Thread Jonathan M Davis
On Tuesday, October 16, 2012 04:36:37 Mehrdad wrote: > Why is it an error to have a singly-linked list of Tuple!(int)? > > phobos\std\container.d(938): > Error: function > std.typecons.Tuple!(int).Tuple > .opEquals!(const(Tuple!(int))) > .opEquals (const(Tuple!(int)) rhs) > is not callable using a

SList!(Tuple!int) == error?

2012-10-15 Thread Mehrdad
Why is it an error to have a singly-linked list of Tuple!(int)? phobos\std\container.d(938): Error: function std.typecons.Tuple!(int).Tuple .opEquals!(const(Tuple!(int))) .opEquals (const(Tuple!(int)) rhs) is not callable using argument types (const(Tuple!(int))) const Error: template instance st