More flexible sorted ranges?

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Dec 3 23:33:08 PST 2014


On Sunday, 2 November 2014 at 15:13:37 UTC, bearophile wrote:
> SortedRange!(Foo[], q{ a.x < b.x }) data;
> data ~= Foo(5);
> immutable n = data.upperBound(Foo(2)).length;

Have anybody implemented SortedRange? I can't find any refs.


More information about the Digitalmars-d-learn mailing list