[Issue 17753] New: IN6_IS_ADDR_UNSPECIFIED and friends should accept const(in6_addr)*

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Aug 14 05:40:03 PDT 2017


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

          Issue ID: 17753
           Summary: IN6_IS_ADDR_UNSPECIFIED and friends should accept
                    const(in6_addr)*
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: shachar at weka.io

These are a bunch of macros in the C headers. When translated to D, they were
transformed into functions. As such, they should declare their constness, or
calling them becomes a problem from certain contexts.

--


More information about the Digitalmars-d-bugs mailing list