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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 6 12:29:00 UTC 2023


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

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

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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ntrel created dlang/dlang.org pull request #3699 "[spec] Improve `opApply`
docs" fixing this issue:

- [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