Commits

Dmitri Gribenko committed 8e886a3bdde
stdlib: ranges: remove range protocols The RangeProtocol was a very weak and fragile abstraction because it didn't specify the interpretation of the endpoints. To write a non-trivial algorithm, one usually needed to consult that information. The standard library code only actually worked correctly with half-open and closed ranges (and didn't handle fully open ranges, for example). The other two protocols, HalfOpenRangeProtocol and ClosedRangeProtocol, were only used for code sharing, and present an ABI burden. We can use gyb instead.