https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84087
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-29 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Berni from comment #0) > From C++14, string::assign can be called with two arguments: the string (1) > and the position (2). The length (3) is optional. Yes this was changed by https://wg21.link/lwg2268 > This worked in gcc 7.2.0. No it didn't, libstdc++ has never implemented the change.