www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19312] New: Reduce template bloat in std.math by using const

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

--
Oct 18 2018