digitalmars.D - SList!(Tuple!int) == error?
- Mehrdad (10/10) Oct 15 2012 Why is it an error to have a singly-linked list of Tuple!(int)?
- Jonathan M Davis (4/15) Oct 15 2012 Tuple's signatures for opEquals aren't correct:
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 std.container.SList!(Tuple!(int)) error instantiating
Oct 15 2012
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 argument types (const(Tuple!(int))) const Error: template instance std.container.SList!(Tuple!(int)) error instantiatingTuple's signatures for opEquals aren't correct: http://d.puremagic.com/issues/show_bug.cgi?id=8584 - Jonathan M Davis
Oct 15 2012