https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81967
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- The old std::string doesn't meet all the requirements of C++11 and later standards. Missing features include C++11 allocator support, and accepting const_iterator for positional arguments.