On Friday, 23 April 2021 at 21:34:39 UTC, Steven Schveighoffer
wrote:
`SortedRange` itself is kind of a kludge of "policy" that isn't
fit for function.
I use release to get the original data type out (via
r.save.release), but that's about it.
See my rant about it
On 4/23/21 1:35 PM, Bastiaan Veelo wrote:
For reference, `SortedRange.release` is
[documented](https://dlang.org/phobos/std_range.html#.SortedRange) as such:
"Releases the controlled range and returns it."
Wow thanks! I love functions that are named exactly as what they do ;-)
Seriously
On Friday, 23 April 2021 at 18:35:25 UTC, Paul Backus wrote:
On Friday, 23 April 2021 at 17:35:13 UTC, Bastiaan Veelo wrote:
What happens when a range is released?
What happens if a range is not released?
What happens if a range is released more than once?
And what does "controlled" imply
On Friday, 23 April 2021 at 17:35:13 UTC, Bastiaan Veelo wrote:
What happens when a range is released?
What happens if a range is not released?
What happens if a range is released more than once?
And what does "controlled" imply here? In what way has
`SortedRange` control over the underlaying