Thread overview
[Issue 20302] std.functional.memoize doesn't accept a functions with const/immutable parameters
Oct 15, 2019
ZombineDev
Oct 16, 2019
Dlang Bot
Oct 19, 2019
Dlang Bot
October 15, 2019
https://issues.dlang.org/show_bug.cgi?id=20302

ZombineDev <petar.p.kirov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|nobody@puremagic.com        |petar.p.kirov@gmail.com

--
October 16, 2019
https://issues.dlang.org/show_bug.cgi?id=20302

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

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

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ZombineDev created dlang/phobos pull request #7231 "Fix issues 20301 and 20302" fixing this issue:

- Fix issue 20302 - Support head const in memoize

  Make std.functional.memoize accept functions whose return type or
  parameters are head const.

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

--
October 19, 2019
https://issues.dlang.org/show_bug.cgi?id=20302

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #7231 "Fix issues 20301 and 20302" was merged into stable:

- 52bf1876f7efaed360ab5daa394fa81464b7c6e2 by ZombineDev:
  Fix issue 20302 - Support head const in memoize

  Make std.functional.memoize accept functions whose return type or
  parameters are head const.

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

--