https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84118
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Ethan Smith from comment #0) > As I have read the filesystem TS, I believe concat on path items should have > an overload following: > > path& operator+=(value_type x); It does have that overload. > However, on trying to use 7.2.0 this overload seems not to work correctly. > > https://wandbox.org/permlink/S4DZ3witD15xz0lT But you're using path::concat(value_type) not path::operator+=(value_type). > TL;DR it would allow for constructs such as > .concat(fs::path::preferred_separator) No it wouldn't, because that uses concat, not operator+=