On 07/02/2019 02:27 AM, A. Bressan wrote: > contrary to C++, lowerBound and > upperBound give the same piece of information because they return > complementary sub-ranges. I don't understand the specific problem but can 'trisect' be useful? https://dlang.org/library/std/range/sorted_range.trisect.html Ali