On Sunday, 2 November 2014 at 16:59:30 UTC, bearophile wrote:
Ola Fosheim Grøstad:

Shouldn't sorted range maintain the invariant automatically in order to remain typesafe?

Yes, of course.

If SortedRange is fixed, please also switch the names of upperBound and lowerBound… They are currently wrong. An upperBound on something should return the values lower than it and a lowerBound should return values larger…

(C++ got it right).

Reply via email to