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.
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.