Issue 19312 - Reduce template bloat in std.math by using const arguments
Summary: Reduce template bloat in std.math by using const arguments
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P4 enhancement
Assignee: Nathan S.
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-18 13:05 UTC by Nathan S.
Modified: 2024-12-01 16:34 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Nathan S. 2018-10-18 13:05:12 UTC
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 Nathan S. 2018-10-18 13:09:51 UTC
Pull request: https://github.com/dlang/phobos/pull/6731
Comment 2 dlangBugzillaToGithub 2024-12-01 16:34:19 UTC
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