Bug 7404 – std.range.SortedRange.release() property

Status
RESOLVED
Resolution
WORKSFORME
Severity
enhancement
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-01-30T17:35:00Z
Last change time
2013-06-09T14:31:40Z
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2012-01-30T17:35:57Z
Is std.range.SortedRange.release() better as a (pure nothrow) @property? Its current (2.058head) implementation: /** Releases the controlled range and returns it. */ auto release() { return move(_input); }
Comment #1 by bearophile_hugs — 2012-01-30T17:40:04Z
See also issue 7405
Comment #2 by bearophile_hugs — 2013-06-09T14:31:40Z
With the recent changes to the way D is supposed to handle property syntax, I think there is no more need to fix this.