[Issue 22414] clamp(a, b, c) should always return typeof(a)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 19 08:38:47 UTC 2021


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

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 #8293 "Fix Issue 22414 - clamp(a, b, c) should always
return typeof(a)" was merged into master:

- 3041b3768b7df8e370e59794fbc95e2ed69bc182 by Andrei Alexandrescu:
  Fix Issue 22414 - clamp(a, b, c) should always return typeof(a)

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

--


More information about the Digitalmars-d-bugs mailing list