diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2009-10-20 16:24:18 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2009-10-20 16:24:18 +0000 |
commit | 50e9ed7c6c75bae523aa32887b8f91b06070901d (patch) | |
tree | b99a859bfc08400bc5dd8f0b4f2793ab1dd171d4 /libstdc++-v3/src/string-inst.cc | |
parent | 1578e91079162f7ff008520487623968fc0db687 (diff) | |
download | gcc-50e9ed7c6c75bae523aa32887b8f91b06070901d.tar.gz |
basic_string.h (_S_construct(const _CharT*, size_type, const _Alloc&)): New, declare.
2009-10-20 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/basic_string.h (_S_construct(const _CharT*, size_type,
const _Alloc&)): New, declare.
(_S_construct(_CharT*, _CharT*, const _Alloc&),
_S_construct(const _CharT*, const _CharT*, const _Alloc&),
_S_construct(iterator, iterator, const _Alloc&),
_S_construct(const_iterator, const_iterator, const _Alloc&)): New,
forward to the latter.
* include/bits/basic_string.tcc (_S_construct(const _CharT*,
size_type, const _Alloc&)): Define.
(basic_string(const basic_string&, size_type, size_type),
basic_string(const basic_string&, size_type, size_type,
const _Alloc&), basic_string(const _CharT*, size_type,
const _Alloc&), basic_string(const _CharT*, const _Alloc&),
basic_string(initializer_list<>, const _Alloc&)): Call the latter.
* config/abi/pre/gnu.ver: Remove recently added exports.
* src/string-inst.cc: Remove instantiations.
From-SVN: r153023
Diffstat (limited to 'libstdc++-v3/src/string-inst.cc')
-rw-r--r-- | libstdc++-v3/src/string-inst.cc | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/libstdc++-v3/src/string-inst.cc b/libstdc++-v3/src/string-inst.cc index 4ba178a5ad4..eacebfb8e21 100644 --- a/libstdc++-v3/src/string-inst.cc +++ b/libstdc++-v3/src/string-inst.cc @@ -1,6 +1,7 @@ // Components for manipulating sequences of characters -*- C++ -*- -// Copyright (C) 1997, 1998, 2009, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 +// Copyright (C) 1997, 1998, 2009, 1999, 2000, 2001, 2002, 2003, 2004, +// 2005, 2006, 2007, 2008, 2009 // Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -58,20 +59,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std) template S::basic_string(S::iterator, S::iterator, const allocator<C>&); - template - C* - S::_S_construct(S::iterator, S::iterator, - const allocator<C>&, forward_iterator_tag); - - template - C* - S::_S_construct(C*, C*, const allocator<C>&, forward_iterator_tag); - - template - C* - S::_S_construct(const C*, const C*, const allocator<C>&, - forward_iterator_tag); - _GLIBCXX_END_NAMESPACE _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) |