On Sunday, 9 June 2013 at 12:19:47 UTC, Lars T. Kyllingstad wrote:
A recent pull request discussion got me thinking: The ability to "downgrade" a range to a less featureful one -- wrapping a random access range in an input range, say -- can be very useful sometimes, particularly for testing.

"Particularly for testing", or *only* for testing? Is there any other use? (I can't think of any non-contrived use case beyond testing).

If it's just for testing, would it not be better to just supply a variety of test ranges that implement all combinations of traits?

Reply via email to