-
- Downloads
[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
Showing
- libstdc++-v3/ChangeLog 32 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/bits/deque.tcc 3 additions, 3 deletionslibstdc++-v3/include/bits/deque.tcc
- libstdc++-v3/include/bits/list.tcc 2 additions, 2 deletionslibstdc++-v3/include/bits/list.tcc
- libstdc++-v3/include/bits/stl_deque.h 3 additions, 27 deletionslibstdc++-v3/include/bits/stl_deque.h
- libstdc++-v3/include/bits/stl_list.h 3 additions, 27 deletionslibstdc++-v3/include/bits/stl_list.h
- libstdc++-v3/include/bits/stl_vector.h 3 additions, 32 deletionslibstdc++-v3/include/bits/stl_vector.h
- libstdc++-v3/testsuite/23_containers/deque/explicit_instantiation/2.cc 35 additions, 0 deletions...testsuite/23_containers/deque/explicit_instantiation/2.cc
- libstdc++-v3/testsuite/23_containers/list/explicit_instantiation/2.cc 35 additions, 0 deletions.../testsuite/23_containers/list/explicit_instantiation/2.cc
- libstdc++-v3/testsuite/23_containers/map/explicit_instantiation/2.cc 37 additions, 0 deletions...3/testsuite/23_containers/map/explicit_instantiation/2.cc
- libstdc++-v3/testsuite/23_containers/multimap/explicit_instantiation/2.cc 36 additions, 0 deletions...tsuite/23_containers/multimap/explicit_instantiation/2.cc
- libstdc++-v3/testsuite/23_containers/multiset/explicit_instantiation/2.cc 35 additions, 0 deletions...tsuite/23_containers/multiset/explicit_instantiation/2.cc
- libstdc++-v3/testsuite/23_containers/set/explicit_instantiation/2.cc 35 additions, 0 deletions...3/testsuite/23_containers/set/explicit_instantiation/2.cc
- libstdc++-v3/testsuite/23_containers/vector/explicit_instantiation/2.cc 35 additions, 0 deletions...estsuite/23_containers/vector/explicit_instantiation/2.cc
- libstdc++-v3/testsuite/testsuite_hooks.h 18 additions, 0 deletionslibstdc++-v3/testsuite/testsuite_hooks.h
Loading
Please register or sign in to comment