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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 24 07:13:03 UTC 2019


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

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

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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@n8sh created dlang/phobos pull request #7033 "`const`ify scalar arguments in
std.bitmanip to reduce IFTI template bloat" fixing this issue:

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