This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
stdio_filebuf is instantiated in the library but not exported
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Tue, 23 Sep 2014 12:19:29 +0100
- Subject: stdio_filebuf is instantiated in the library but not exported
- Authentication-results: sourceware.org; auth=none
While working on iostream move semantics I noticed that we define an
explicit instantiation of __gnu_ext::stdio_filebuf<char> and
__gnu_ext::stdio_filebuf<wchar_t> in src/c++98/ext-inst.cc (which I
moved to src/c++11/ext11-inst.cc yesterday).
But we don't declare those explicit instantiations in any header, and
don't export the symbols, so the instantiations are only for the
library's own use, is that indented?