www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20513] New: Return type of wmemchr should be inout(wchar_t)*

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

--
Jan 16