This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r186093 - in /branches/google/gcc-4_6/libstdc++...
- From: jyasskin at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 02 Apr 2012 21:28:16 -0000
- Subject: r186093 - in /branches/google/gcc-4_6/libstdc++...
Author: jyasskin
Date: Mon Apr 2 21:28:15 2012
New Revision: 186093
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186093
Log:
Work around PR-52796 by taking each function that passes a parameter
pack as the only arguments of an object's constructor, and adding an
overload that explicitly takes and passes no arguments in place of the
pack.
* include/ext/pool_allocator.h: Add 1-argument construct() method.
* include/ext/bitmap_allocator.h: Likewise.
* include/ext/new_allocator.h: Likewise.
* include/ext/malloc_allocator.h: Likewise.
* include/ext/array_allocator.h: Likewise.
* include/ext/mt_allocator.h: Likewise.
* include/ext/extptr_allocator.h: Likewise.
* include/bits/stl_construct.h:Add 1-argument _Construct function.
* include/bits/stl_list.h: Add default _List_node constructor.
* include/bits/hashtable_policy.h: Add default _Hash_node constructor.
* include/bits/forward_list.h:Add default _Fwd_list_node constructor.
* include/bits/stl_tree.h:Add default _Rb_tree_node constructor.
* testsuite/23_containers/forward_list/requirements/dr438/assign_neg.cc:
Update line numbers.
* testsuite/23_containers/forward_list/requirements/dr438/insert_neg.cc:
Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/constructor_1_neg.cc:
Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/constructor_2_neg.cc:
Likewise.
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
Likewise.
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
Likewise.
* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
Likewise.
* testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
Likewise.
Modified:
branches/google/gcc-4_6/libstdc++-v3/ChangeLog.google-4_6
branches/google/gcc-4_6/libstdc++-v3/include/bits/forward_list.h
branches/google/gcc-4_6/libstdc++-v3/include/bits/hashtable_policy.h
branches/google/gcc-4_6/libstdc++-v3/include/bits/stl_construct.h
branches/google/gcc-4_6/libstdc++-v3/include/bits/stl_list.h
branches/google/gcc-4_6/libstdc++-v3/include/bits/stl_tree.h
branches/google/gcc-4_6/libstdc++-v3/include/ext/array_allocator.h
branches/google/gcc-4_6/libstdc++-v3/include/ext/bitmap_allocator.h
branches/google/gcc-4_6/libstdc++-v3/include/ext/extptr_allocator.h
branches/google/gcc-4_6/libstdc++-v3/include/ext/malloc_allocator.h
branches/google/gcc-4_6/libstdc++-v3/include/ext/mt_allocator.h
branches/google/gcc-4_6/libstdc++-v3/include/ext/new_allocator.h
branches/google/gcc-4_6/libstdc++-v3/include/ext/pool_allocator.h
branches/google/gcc-4_6/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/assign_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/constructor_1_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/constructor_2_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/insert_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/23_containers/list/requirements/dr438/assign_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/23_containers/list/requirements/dr438/insert_neg.cc