proposition to std.range: SortedRange.indexOf(value)

Alexander Tankeev atankeev at gmail.com
Wed Dec 19 08:03:22 PST 2012


Hello, world.

I find very useful and clean interface that provides SortedRange, but it 
was disappointing that it have binarySearch to answer does it 
.contains(value), but can't return the .indexOf(value). In my opinion it 
should be part of the interface.

--
Sincerely yours, Alexander Tankeev.


More information about the Digitalmars-d mailing list