diff options
author | Paolo Carlini <pcarlini@suse.de> | 2005-06-06 16:59:55 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2005-06-06 16:59:55 +0000 |
commit | 2fecaef4af7206fbae14906000e8c81007514706 (patch) | |
tree | 135c01c04b56fa8a36110efaa5e5b5d8c1be6e9d /libstdc++-v3/ChangeLog | |
parent | 1651a990f79d932c591ae20035536d7b4449f6f4 (diff) | |
download | gcc-2fecaef4af7206fbae14906000e8c81007514706.zip gcc-2fecaef4af7206fbae14906000e8c81007514706.tar.gz gcc-2fecaef4af7206fbae14906000e8c81007514706.tar.bz2 |
[multiple changes]
2005-06-06 Paolo Carlini <pcarlini@suse.de>
Port from libstdcxx_so_7-branch:
2004-09-24 Paolo Carlini <pcarlini@suse.de>
Jonathan Wakely <redi@gcc.gnu.org>
* include/bits/stl_list.h (list::list(size_type, value_type,
const allocator_type&): Implement according to the letter of the
standard, i.e., don't use two overloads, not equivalent in case
of non default constructible T.
(list::resize(size_type, const value_type&)): Fix the signature:
according to the standard the second argument is by value; also,
don't use two overloads.
* include/bits/list.tcc (list::resize(size_type, const value_type&)):
Adjust consistently the signature.
* include/bits/stl_deque.h (deque::deque(size_type, value_type,
const allocator_type&)): Likewise.
(deque::resize(size_type, const value_type&)): Likewise.
* include/bits/stl_vector.h (vector::vector(size_type, value_type,
const allocator_type&)): Likewise.
(vector::resize(size_type, const value_type&)): Likewise.
* testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
* testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
* testsuite/23_containers/list/explicit_instantiation/2.cc: New.
* testsuite/23_containers/map/explicit_instantiation/2.cc: New.
* testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
* testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
* testsuite/23_containers/set/explicit_instantiation/2.cc: New.
* testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
* include/bits/deque.tcc: Minor formatting fix.
From-SVN: r100668
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r-- | libstdc++-v3/ChangeLog | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 442fb3f..3a91b00 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,35 @@ +2005-06-06 Paolo Carlini <pcarlini@suse.de> + + Port from libstdcxx_so_7-branch: + 2004-09-24 Paolo Carlini <pcarlini@suse.de> + Jonathan Wakely <redi@gcc.gnu.org> + + * include/bits/stl_list.h (list::list(size_type, value_type, + const allocator_type&): Implement according to the letter of the + standard, i.e., don't use two overloads, not equivalent in case + of non default constructible T. + (list::resize(size_type, const value_type&)): Fix the signature: + according to the standard the second argument is by value; also, + don't use two overloads. + * include/bits/list.tcc (list::resize(size_type, const value_type&)): + Adjust consistently the signature. + * include/bits/stl_deque.h (deque::deque(size_type, value_type, + const allocator_type&)): Likewise. + (deque::resize(size_type, const value_type&)): Likewise. + * include/bits/stl_vector.h (vector::vector(size_type, value_type, + const allocator_type&)): Likewise. + (vector::resize(size_type, const value_type&)): Likewise. + * testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type. + * testsuite/23_containers/deque/explicit_instantiation/2.cc: New. + * testsuite/23_containers/list/explicit_instantiation/2.cc: New. + * testsuite/23_containers/map/explicit_instantiation/2.cc: New. + * testsuite/23_containers/multimap/explicit_instantiation/2.cc: New. + * testsuite/23_containers/multiset/explicit_instantiation/2.cc: New. + * testsuite/23_containers/set/explicit_instantiation/2.cc: New. + * testsuite/23_containers/vector/explicit_instantiation/2.cc: New. + + * include/bits/deque.tcc: Minor formatting fix. + 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de> * include/bits/stl_function.h: ... and another one. |