[Issue 19147] New: Reduce template bloat in std.complex by using const arguments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 6 22:46:59 UTC 2018


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 at puremagic.com
          Reporter: n8sh.secondary at 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.

--


More information about the Digitalmars-d-bugs mailing list