diff options
author | Mark Mitchell <mark@codesourcery.com> | 2001-02-05 19:46:22 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2001-02-05 19:46:22 +0000 |
commit | 9b30b506d6ff0d18140c29e309ab3699d26606d4 (patch) | |
tree | 4feea46dfc0d41356016e0ed70a948046ab920cc | |
parent | 3418dd3ac475562a90fe3d384387047db8c3410a (diff) | |
download | gcc-9b30b506d6ff0d18140c29e309ab3699d26606d4.zip gcc-9b30b506d6ff0d18140c29e309ab3699d26606d4.tar.gz gcc-9b30b506d6ff0d18140c29e309ab3699d26606d4.tar.bz2 |
string-inst.cc (string::_M_replace): Explicitly instantiate.
* src/string-inst.cc (string::_M_replace): Explicitly instantiate.
(string::_S_construct): Likewise.
From-SVN: r39465
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/src/string-inst.cc | 14 |
2 files changed, 19 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 7e30f75..362c97e 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2001-02-05 Mark Mitchell <mark@codesourcery.com> + + * src/string-inst.cc (string::_M_replace): Explicitly instantiate. + (string::_S_construct): Likewise. + 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com> * testsuite/config/default.exp: New file. diff --git a/libstdc++-v3/src/string-inst.cc b/libstdc++-v3/src/string-inst.cc index 54e5f4a..70ee21e 100644 --- a/libstdc++-v3/src/string-inst.cc +++ b/libstdc++-v3/src/string-inst.cc @@ -73,6 +73,20 @@ namespace std template S::basic_string(S::iterator, S::iterator, const allocator<C>&); + + template + S& + S::_M_replace(S::iterator, S::iterator, C*, C*, forward_iterator_tag); + + template + S& + S::_M_replace(S::iterator, S::iterator, const C*, const C*, + forward_iterator_tag); + + template + C* + S::_S_construct(const C*, const C*, const allocator<C>&, + forward_iterator_tag); } // namespace std |