https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81371
--- Comment #5 from Marc Glisse ---
Related to PR14912 (and some others). Tools like STLFilt perform this
transformation for standard types (including std::string). Possibly also
related to the recent work on printing template diffs.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81371
--- Comment #4 from Andrew Pinski ---
basic_string in C++ is always defined as a template class with three template
arguments. Yes most folks don't know the C++ standard but it is what it is.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81371
--- Comment #3 from Jonny Grant ---
Hello
Perhaps just std::__cxx11::basic_string or std::basic_string in the message?
But the char_traits and allocator aren't really needed are they? (I didn't
write them in the function declaration). I apprec
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81371
--- Comment #2 from Andrew Pinski ---
The problem is std::string could be std::__cxx11::basic_string or just
std::basic_string depending on the ABI chosen at compile time.