[Issue 19899] std.bitmanip.bitsSet should accept const arguments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 24 07:58:33 UTC 2019


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

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 #7033 "`const`ify scalar arguments in std.bitmanip to
reduce IFTI template bloat" was merged into master:

- 0c376b40c4bd0b359a6e54c2c63ccb0ff7ee46bc by Nathan Sashihara:
  `const`ify scalar arguments in std.bitmanip to reduce IFTI template bloat
  Fixes Issue 19899 - std.bitmanip.bitsSet should accept const arguments

  This also makes `swapEndian` not propagate `const` to its return value
  which is arguably an improvement
  (see https://github.com/dlang/phobos/pull/6682#discussion_r213024113).

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

--


More information about the Digitalmars-d-bugs mailing list