DList!(Tuple!(TypeInfo_Class)) causes compilation error

monarch_dodra monarchdodra at gmail.com
Sun Dec 30 13:31:44 PST 2012


On Sunday, 30 December 2012 at 21:28:37 UTC, Zhenya wrote:
> Could anyone explain me please what's wrong with 
> Tuple!TypeInfo_Class opEquals?

The problem is that DList's opEqual *is* const qualified, which 
means it is trying to compare some "const Tuple", which does not 
work, because Tuple does not define opEqual for const Tuples.


More information about the Digitalmars-d-learn mailing list