Fix order and types of members in C++17 insert_return_type structs
authorJonathan Wakely <jwakely@redhat.com>
Mon, 15 May 2017 13:47:40 +0000 (14:47 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 15 May 2017 13:47:40 +0000 (14:47 +0100)
commit85c05b5eec703f9dd26e05215f336a3518b475df
treeb9923cca1788e3adff2b0691135820d154b9c635
parent511604823d33a79a88eaa12e881badd2170a0614
Fix order and types of members in C++17 insert_return_type structs

PR libstdc++/80761
* include/bits/node_handle.h (_Node_insert_return): Reorder members.
(tuple_size, tuple_element): Remove partial specializations.
* include/bits/stl_tree.h (_Rb_tree::insert_return_type): Use
const_iterator for std::set.
* testsuite/23_containers/map/modifiers/extract.cc: New.
* testsuite/23_containers/set/modifiers/extract.cc: New.
* testsuite/23_containers/unordered_map/modifiers/extract.cc: New.
* testsuite/23_containers/unordered_set/modifiers/extract.cc: New.

From-SVN: r248062
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/node_handle.h
libstdc++-v3/include/bits/stl_tree.h
libstdc++-v3/testsuite/23_containers/map/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/set/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/extract.cc