[Issue 20513] New: Return type of wmemchr should be inout(wchar_t)* rather than wchar_t*

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 16 20:39:14 UTC 2020


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

          Issue ID: 20513
           Summary: Return type of wmemchr should be inout(wchar_t)*
                    rather than wchar_t*
           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: pure wchar_t* wmemchr(return const wchar_t* s, wchar_t c, size_t n);
Proposed: pure inout(wchar_t)* wmemchr(return inout wchar_t* s, wchar_t c,
size_t n);

--


More information about the Digitalmars-d-bugs mailing list