Bug 19312 – Reduce template bloat in std.math by using const arguments

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-10-18T13:05:12Z
Last change time
2024-12-01T16:34:19Z
Assigned to
Nathan S.
Creator
Nathan S.
Moved to GitHub: phobos#9764 →

Comments

Comment #0 by n8sh.secondary — 2018-10-18T13:05:12Z
Labeling variably-typed arguments of template functions as const causes the same type to be inferred when the argument is const, non-const, and immutable.
Comment #1 by n8sh.secondary — 2018-10-18T13:09:51Z
Comment #2 by robert.schadek — 2024-12-01T16:34:19Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/9764 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB