This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[v3] add string instantiation
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 3 Dec 2001 17:01:44 -0800 (PST)
- Subject: [v3] add string instantiation
2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
* src/string-inst.cc (string::_Rep::_S_terminal): Add static data
member instantiations.
Index: src/string-inst.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/src/string-inst.cc,v
retrieving revision 1.19
diff -c -p -r1.19 string-inst.cc
*** string-inst.cc 2001/10/31 08:27:20 1.19
--- string-inst.cc 2001/12/03 22:48:06
*************** namespace std
*** 46,51 ****
--- 46,52 ----
typedef basic_string<C> S;
template class basic_string<C>;
+ template const C S::_Rep::_S_terminal;
template S::size_type S::_Rep::_S_max_size;
template S operator+(const C*, const S&);