[Issue 24382] std.range.only should have assignable elements

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 10 06:53:10 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24382

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@pbackus created dlang/phobos pull request #8910 "Allow assignment of
std.range.only elements" fixing this issue:

- Allow assignment of std.range.only elements

  This allows the ranges returned by only to be used in algorithms that
  require assignable elements, such as reverse, sort, and transposed.

  Fixes bugzilla issue 24382.

https://github.com/dlang/phobos/pull/8910

--


More information about the Digitalmars-d-bugs mailing list