A predicate with different argument types

psycha0s box at mail.com
Sun Feb 10 17:18:30 UTC 2019


> auto sorted = object_.assumeSorted!((a, b) => a.name < b.name);

Sorry for the copy-paste. It should be "attributes" in place of 
"object_" here, of course:

auto sorted = attributes.assumeSorted!((a, b) => a.name < b.name);


More information about the Digitalmars-d-learn mailing list