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.html | ||
| algorithms.html | ||
| api.html | ||
| appendix.html | ||
| appendix_contributing.html | ||
| appendix_free.html | ||
| appendix_gfdl.html | ||
| appendix_gpl.html | ||
| appendix_porting.html | ||
| associative.html | ||
| atomics.html | ||
| backwards.html | ||
| bitmap_allocator.html | ||
| bitmap_allocator_impl.html | ||
| bugs.html | ||
| concept_checking.html | ||
| concurrency.html | ||
| configure.html | ||
| containers.html | ||
| containers_and_c.html | ||
| debug.html | ||
| debug_mode.html | ||
| debug_mode_design.html | ||
| debug_mode_semantics.html | ||
| debug_mode_using.html | ||
| diagnostics.html | ||
| documentation_hacking.html | ||
| dynamic_memory.html | ||
| errno.html | ||
| ext_algorithms.html | ||
| ext_compile_checks.html | ||
| ext_concurrency.html | ||
| ext_concurrency_impl.html | ||
| ext_concurrency_use.html | ||
| ext_containers.html | ||
| ext_demangling.html | ||
| ext_io.html | ||
| ext_iterators.html | ||
| ext_numerics.html | ||
| ext_preface.html | ||
| ext_sgi.html | ||
| ext_utilities.html | ||
| extensions.html | ||
| facets.html | ||
| fstreams.html | ||
| generalized_numeric_operations.html | ||
| index.html | ||
| internals.html | ||
| intro.html | ||
| io.html | ||
| io_and_c.html | ||
| iterators.html | ||
| license.html | ||
| localization.html | ||
| make.html | ||
| memory.html | ||
| mt_allocator.html | ||
| mt_allocator_design.html | ||
| mt_allocator_ex_multi.html | ||
| mt_allocator_ex_single.html | ||
| mt_allocator_impl.html | ||
| numerics.html | ||
| numerics_and_c.html | ||
| pairs.html | ||
| parallel_mode.html | ||
| parallel_mode_design.html | ||
| parallel_mode_semantics.html | ||
| parallel_mode_test.html | ||
| parallel_mode_using.html | ||
| policy_based_data_structures_test.html | ||
| policy_data_structures.html | ||
| policy_data_structures_ack.html | ||
| policy_data_structures_design.html | ||
| policy_data_structures_using.html | ||
| profile_mode.html | ||
| profile_mode_api.html | ||
| profile_mode_cost_model.html | ||
| profile_mode_design.html | ||
| profile_mode_devel.html | ||
| profile_mode_diagnostics.html | ||
| profile_mode_impl.html | ||
| setup.html | ||
| source_code_style.html | ||
| source_design_notes.html | ||
| source_organization.html | ||
| status.html | ||
| std_contents.html | ||
| streambufs.html | ||
| strings.html | ||
| stringstreams.html | ||
| support.html | ||
| termination.html | ||
| test.html | ||
| traits.html | ||
| unordered_associative.html | ||
| using.html | ||
| using_concurrency.html | ||
| using_dual_abi.html | ||
| using_dynamic_or_shared.html | ||
| using_exceptions.html | ||
| using_headers.html | ||
| using_macros.html | ||
| using_namespaces.html | ||
| utilities.html | ||