mirror of git://gcc.gnu.org/git/gcc.git
* doc/xml/manual/status_cxx2017.xml: Update status. * doc/html/manual/status.html: Regenerate. * include/bits/shared_ptr.h (shared_ptr(unique_ptr<_Yp, _Del>)): Add extension constructor to maintain C++14 behaviour. * include/bits/shared_ptr_base.h (__sp_array_delete): Add new struct. (__shared_count(_Ptr, false_type), __shared_count(_Ptr, true_type)): New constructors. (__sp_compatible_with, __sp_is_constructible): Add specializations for array support. (__sp_is_constructible_arr, __sp_is_constructible_arrN): New helpers. (__shared_ptr_access): New base class for observer member functions. (__shared_ptr::element_type): Use remove_extent. (__shared_ptr::_UniqCompatible): Add __sp_compatible_with check. (__shared_ptr(_Yp*)): Use tag dispatching to call new __shared_count constructor. (__shared_ptr(unique_ptr<_Yp, _Del>)): Add extension constructor. (__shared_ptr::operator*, __shared_ptr::operator->): Remove and inherit from __shared_ptr_access base class. (__shared_ptr::__has_esft_base): Return false for array types. (__weak_ptr::element_type): Use remove_extent. * include/experimental/bits/shared_ptr.h (__libfund_v1): Remove. (__shared_ptr<__libfund_v1<_Tp>>): Remove specializations. (__wak_ptr<__libfund_v1<_Tp>>): Likewise. (experimental::__sp_compatible_v): Redefine using __sp_compatible_with. (experimental::__sp_is_constructible_v): Redefine using __sp_is_constructible. (get_deleter, operator<<): Change argument from __shared_ptr to shared_ptr. * testsuite/20_util/shared_ptr/cons/array.cc: New test. * testsuite/20_util/shared_ptr/cons/unique_ptr_array.cc: Adjust for new behaviour. * testsuite/20_util/shared_ptr/observers/array.cc: Test observers for arrays. * testsuite/20_util/shared_ptr/observers/array_neg.cc: New test. From-SVN: r242369 |
||
|---|---|---|
| .. | ||
| abi.xml | ||
| algorithms.xml | ||
| allocator.xml | ||
| appendix_contributing.xml | ||
| appendix_free.xml | ||
| appendix_porting.xml | ||
| atomics.xml | ||
| auto_ptr.xml | ||
| backwards_compatibility.xml | ||
| bitmap_allocator.xml | ||
| build_hacking.xml | ||
| codecvt.xml | ||
| concurrency.xml | ||
| concurrency_extensions.xml | ||
| configure.xml | ||
| containers.xml | ||
| ctype.xml | ||
| debug.xml | ||
| debug_mode.xml | ||
| diagnostics.xml | ||
| documentation_hacking.xml | ||
| evolution.xml | ||
| extensions.xml | ||
| internals.xml | ||
| intro.xml | ||
| io.xml | ||
| iterators.xml | ||
| locale.xml | ||
| localization.xml | ||
| messages.xml | ||
| mt_allocator.xml | ||
| numerics.xml | ||
| parallel_mode.xml | ||
| policy_data_structures.xml | ||
| policy_data_structures_biblio.xml | ||
| prerequisites.xml | ||
| profile_mode.xml | ||
| shared_ptr.xml | ||
| spine.xml | ||
| status_cxx1998.xml | ||
| status_cxx2011.xml | ||
| status_cxx2014.xml | ||
| status_cxx2017.xml | ||
| status_cxxtr1.xml | ||
| status_cxxtr24733.xml | ||
| strings.xml | ||
| support.xml | ||
| test.xml | ||
| test_policy_data_structures.xml | ||
| using.xml | ||
| using_exceptions.xml | ||
| utilities.xml | ||