[Issue 24176] Parameters of opApply delegate don't have to be `ref`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 8 10:33:34 UTC 2023


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dlang.org pull request #3699 "[spec] Improve `opApply` docs" was merged
into master:

- ec20daf236f6b685c51b629430f554abf4c2fceb by Nick Treleaven:
  [spec] Improve `opApply` docs

  Show grammar for signature.
  Don't require `ref` delegate parameter.
  Explain non-ref ForeachType can match a ref OpApplyParameter.

  Fixes Issue 24176 - Parameters of opApply delegate don't have to be `ref`.

https://github.com/dlang/dlang.org/pull/3699

--


More information about the Digitalmars-d-bugs mailing list