https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48829
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- Well, that one already does. So I'd expect std::string("str") + s and f(i) to do so as well.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48829
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- Well, that one already does. So I'd expect std::string("str") + s and f(i) to do so as well.