Declare some explicit instantiations for strings in Debug Mode
commit393138d71ac96666d06ec98d28e3f7346ddad287
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Jun 2018 00:11:53 +0000 (27 00:11 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Jun 2018 00:11:53 +0000 (27 00:11 +0000)
tree2216e72a6fe1a214cd7feb007791a1e5dbbbd73d
parent60025d59c4105959813f5e6d3cd214e145c4638e
Declare some explicit instantiations for strings in Debug Mode

The empty reps and the I/O functions do not need to be implicitly
instantiated to enable assertions, so declare the explicit
instantiations when _GLIBCXX_EXTERN_TEMPLATE == -1 (i.e. when
_GLIBCXX_ASSERTIONS is defined).

PR libstdc++/86138
* include/bits/basic_string.tcc: [_GLIBCXX_EXTERN_TEMPLATE < 0]
Declare explicit instantiations of COW empty reps and I/O functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262167 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/basic_string.tcc