* include/bits/shared_ptr.h (shared_ptr, weak_ptr): Add deduction guides for C++17. * include/bits/std_function.h (function): Likewise. * include/bits/stl_pair.h (pair): Likewise. * include/debug/array (__gnu_debug::array): Likewise. * include/std/array (array): Likewise. * include/std/functional (make_default_searcher) (make_boyer_moore_searcher, make_boyer_moore_horspool_searcher): Remove generator functions. * include/std/tuple (tuple): Add deduction guides. * include/std/valarray (valarray): Likewise. * testsuite/20_util/function_objects/searchers.cc: Adjust to use class template argument deduction instead of generator functions. * testsuite/20_util/function/cons/deduction.cc: New test. * testsuite/20_util/optional/cons/deduction_guide.cc: Rename to ... * testsuite/20_util/optional/cons/deduction.cc: ... here. * testsuite/20_util/pair/cons/deduction.cc: New test. * testsuite/20_util/shared_ptr/cons/deduction.cc: New test. * testsuite/20_util/tuple/cons/deduction.cc: New test. * testsuite/20_util/tuple/element_access/get_neg.cc: Adjust dg-error. * testsuite/20_util/unique_ptr/cons/deduction_neg.cc: New test. * testsuite/20_util/weak_ptr/cons/deduction.cc: New test. * testsuite/23_containers/array/cons/deduction.cc: New test. * testsuite/23_containers/array/cons/deduction_neg.cc: New test. * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc: Adjust dg-error. * testsuite/23_containers/array/tuple_interface/get_neg.cc: Likewise. * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc: Likewise. * testsuite/26_numerics/valarray/deduction.cc: New test. * testsuite/30_threads/lock_guard/cons/deduction.cc: New test. * testsuite/30_threads/scoped_lock/cons/deduction.cc: New test. * testsuite/30_threads/unique_lock/cons/deduction.cc: New test. From-SVN: r246389
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
requirements | Loading commit data... | |
27867.cc | Loading commit data... | |
28277.cc | Loading commit data... | |
30416.cc | Loading commit data... | |
33084.cc | Loading commit data... | |
40691.cc | Loading commit data... | |
69116.cc | Loading commit data... | |
algo.cc | Loading commit data... | |
binary_closure.cc | Loading commit data... | |
const_bracket.cc | Loading commit data... | |
deduction.cc | Loading commit data... | |
dr543.cc | Loading commit data... | |
dr630-1.cc | Loading commit data... | |
dr630-2.cc | Loading commit data... | |
dr630-3.C | Loading commit data... | |
init-list.cc | Loading commit data... | |
moveable.cc | Loading commit data... | |
name_lookup.cc | Loading commit data... | |
noexcept_move_construct.cc | Loading commit data... | |
operators.cc | Loading commit data... | |
range_access.cc | Loading commit data... | |
range_access2.cc | Loading commit data... | |
subset_assignment.cc | Loading commit data... | |
swap.cc | Loading commit data... |