diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-10-28 21:28:44 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-10-28 21:28:44 +0000 |
commit | cea1f697a4487ba7b801c7bdb3f15379953fa34e (patch) | |
tree | 6d3dc995a146b198128654cf10ab7214cdd443cf | |
parent | 55d8cb78cee8b47bd44fa2b3ceba79ebb0c88aa2 (diff) | |
download | gcc-cea1f697a4487ba7b801c7bdb3f15379953fa34e.zip gcc-cea1f697a4487ba7b801c7bdb3f15379953fa34e.tar.gz gcc-cea1f697a4487ba7b801c7bdb3f15379953fa34e.tar.bz2 |
string-inst.cc (basic_string<C>::npos): Explicitly instantiate it.
* src/string-inst.cc (basic_string<C>::npos): Explicitly
instantiate it.
From-SVN: r37106
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/src/string-inst.cc | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 1f52637..4c8773a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2000-10-28 Mark Mitchell <mark@codesourcery.com> + + * src/string-inst.cc (basic_string<C>::npos): Explicitly + instantiate it. + 2000-10-26 Benjamin Kosnik <bkoz@redhat.com> * include/c/bits/std_cmath.h: Fix double declarations in namespace std. diff --git a/libstdc++-v3/src/string-inst.cc b/libstdc++-v3/src/string-inst.cc index b97ee3b..a7dc153 100644 --- a/libstdc++-v3/src/string-inst.cc +++ b/libstdc++-v3/src/string-inst.cc @@ -48,6 +48,7 @@ namespace std typedef basic_string<C> S; template C S::_Rep::_S_terminal; + template const S::size_type S::npos; template S::size_type S::_Rep::_S_max_size; template S::size_type S::_S_empty_rep_storage[]; template S::_Rep* S::_Rep::_S_create(size_t, S::allocator_type const&); |