[Issue 20512] New: Return type of memchr should be inout(void)* rather than void*

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 16 20:38:11 UTC 2020


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

          Issue ID: 20512
           Summary: Return type of memchr should be inout(void)* rather
                    than void*
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: n8sh.secondary at hotmail.com

Current: void* memchr(return const void* s, int c, size_t n) pure
Proposed: inout(void)* memchr(return inout void* s, int c, size_t n) pure;

--


More information about the Digitalmars-d-bugs mailing list