August 06, 2018 [Issue 19147] New: Reduce template bloat in std.complex by using const arguments | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19147 Issue ID: 19147 Summary: Reduce template bloat in std.complex by using 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 Labeling scalar arguments as const even when not logically necessary allows the same type to be inferred for a template function when called with const, non-const, & immutable scalars. -- |
Copyright © 1999-2021 by the D Language Foundation