This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/65630] [5 Regression] operator+ for new std::string not exported
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 30 Mar 2015 15:21:28 +0000
- Subject: [Bug libstdc++/65630] [5 Regression] operator+ for new std::string not exported
- Auto-submitted: auto-generated
- References: <bug-65630-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65630
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
If we are going to export these it might make sense to add extern template
declarations, so the compiler knows the symbols will be in the library and
doesn't bother instantiating them. Otherwise the only people to benefit from it
are those who non-portably use -fno-implicit-templates