[Issue 20302] std.functional.memoize doesn't accept a functions with const/immutable parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 19 06:04:40 UTC 2019


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

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

--


More information about the Digitalmars-d-bugs mailing list