[Issue 19403] New: std.string.stripLeft on char array could be @nogc nothrow

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 15 20:53:19 UTC 2018


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

          Issue ID: 19403
           Summary: std.string.stripLeft on char array could be @nogc
                    nothrow
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: n8sh.secondary at hotmail.com

std.string.stripLeft on char array could be @nogc nothrow by using
std.utf.decode!(UseReplacementDchar.yes) instead of string front/popFront.

--


More information about the Digitalmars-d-bugs mailing list