[Issue 19312] New: Reduce template bloat in std.math by using const arguments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 18 13:05:12 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=19312

          Issue ID: 19312
           Summary: Reduce template bloat in std.math by using const
                    arguments
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: n8sh.secondary at hotmail.com

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.

--


More information about the Digitalmars-d-bugs mailing list