[Issue 22488] data should work with const/immutable Array's

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 7 17:51:05 UTC 2021


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

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

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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/phobos pull request #8311 "Fix 22488 - Add
inout to allow Array.data for const/immutable Array's" fixing this issue:

- Fix 22488 - Add inout to allow Array.data for const/immutable Array's

  Simply propagate the const'ness to the return slice.

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

--


More information about the Digitalmars-d-bugs mailing list