digitalmars.D.bugs - [Issue 19899] New: std.bitmanip.bitsSet should accept const arguments
- d-bugmail puremagic.com (23/23) May 24 2019 https://issues.dlang.org/show_bug.cgi?id=19899
https://issues.dlang.org/show_bug.cgi?id=19899 Issue ID: 19899 Summary: std.bitmanip.bitsSet should accept const arguments Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: minor Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: n8sh.secondary hotmail.com The following currently fails to compile: ---- void main() { import std.bitmanip : bitsSet; const rawBits = 123; auto b = bitsSet(rawBits); } ---- --
May 24 2019