October 16, 2012 SList!(Tuple!int) == error? | ||||
|---|---|---|---|---|
| ||||
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 | ||||
October 16, 2012 Re: SList!(Tuple!int) == error? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Mehrdad | 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 > instantiating Tuple's signatures for opEquals aren't correct: http://d.puremagic.com/issues/show_bug.cgi?id=8584 - Jonathan M Davis | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply