Declare some explicit instantiations for strings in Debug Mode
commitdb9e7b2a12ca04b9928319f8b143b83bf2a1433c
authorJonathan Wakely <jwakely@redhat.com>
Wed, 27 Jun 2018 00:11:53 +0000 (27 01:11 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 27 Jun 2018 00:11:53 +0000 (27 01:11 +0100)
tree2216e72a6fe1a214cd7feb007791a1e5dbbbd73d
parent3beb455a05d242e4fb077f35e76f9bb4675f68e4
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.

From-SVN: r262167
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/basic_string.tcc