https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87082

            Bug ID: 87082
           Summary: Missing default argument in string::assign
           Product: gcc
           Version: 7.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ark at acm dot org
  Target Milestone: ---

Created attachment 44587
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44587&action=edit
This file should compile but doesn't.

If s is a string, s.assign(t, n) fails to compile. It should be equivalent to
s.assign(t, n, std::npos), which does compile.

Reply via email to