SList!(Tuple!int) == error?

Jonathan M Davis jmdavisProg at gmx.com
Mon Oct 15 19:45:32 PDT 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
> instantiating

Tuple's signatures for opEquals aren't correct:

http://d.puremagic.com/issues/show_bug.cgi?id=8584

- Jonathan M Davis


More information about the Digitalmars-d mailing list