opCmp with structs

BBaz via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Nov 6 16:20:46 PST 2015


On Friday, 6 November 2015 at 22:55:15 UTC, Alex wrote:
> Ok... the question is not silly any more...
> without 'immutable' it works. So, what am I missing?

sort() fails because in the template constraint 
`hasAssignableElements


More information about the Digitalmars-d-learn mailing list