http://d.puremagic.com/issues/show_bug.cgi?id=9218
--- Comment #2 from siegelords_ab...@yahoo.com 2012-12-27 22:02:13 PST --- (In reply to comment #1) > Since it's a struct you can also use: > > int opCmp()(auto const ref A a) const This fails the assert. > Otherwise I don't think this is a rejects-valid, it's a documentation issue. > Struct literals (manifests included) are no longer lvalues in 2.061, this is > by > design. Then this bug highlights what a bad set of design decisions it was to both make struct literals not lvalues AND require the proper opCmp signature to function only for lvalues. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------