Home
last modified time | relevance | path

Searched refs:weak_ptr (Results 1 – 22 of 22) sorted by relevance

/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
Dshared_ptr.h196 using weak_type = weak_ptr<_Tp>; in _GLIBCXX_VISIBILITY()
379 template<typename _Yp, typename = _Constructible<const weak_ptr<_Yp>&>> in _GLIBCXX_VISIBILITY()
380 explicit shared_ptr(const weak_ptr<_Yp>& __r) in _GLIBCXX_VISIBILITY()
535 shared_ptr(const weak_ptr<_Tp>& __r, std::nothrow_t) noexcept in _GLIBCXX_VISIBILITY()
538 friend class weak_ptr<_Tp>; in _GLIBCXX_VISIBILITY() local
543 shared_ptr(weak_ptr<_Tp>) -> shared_ptr<_Tp>; in _GLIBCXX_VISIBILITY()
811 class weak_ptr : public __weak_ptr<_Tp> in _GLIBCXX_VISIBILITY()
820 is_assignable<__weak_ptr<_Tp>&, _Arg>::value, weak_ptr& in _GLIBCXX_VISIBILITY()
824 constexpr weak_ptr() noexcept = default; in _GLIBCXX_VISIBILITY()
828 weak_ptr(const shared_ptr<_Yp>& __r) noexcept in _GLIBCXX_VISIBILITY()
[all …]
Dshared_ptr_atomic.h736 struct atomic<weak_ptr<_Tp>> in _GLIBCXX_VISIBILITY()
739 using value_type = weak_ptr<_Tp>; in _GLIBCXX_VISIBILITY()
749 atomic(weak_ptr<_Tp> __r) noexcept in _GLIBCXX_VISIBILITY()
756 weak_ptr<_Tp> in _GLIBCXX_VISIBILITY()
760 operator weak_ptr<_Tp>() const noexcept in _GLIBCXX_VISIBILITY()
764 store(weak_ptr<_Tp> __desired, in _GLIBCXX_VISIBILITY()
769 operator=(weak_ptr<_Tp> __desired) noexcept in _GLIBCXX_VISIBILITY()
772 weak_ptr<_Tp> in _GLIBCXX_VISIBILITY()
773 exchange(weak_ptr<_Tp> __desired, in _GLIBCXX_VISIBILITY()
781 compare_exchange_strong(weak_ptr<_Tp>& __expected, in _GLIBCXX_VISIBILITY()
[all …]
Dshared_ptr_base.h398 class weak_ptr; in _GLIBCXX_VISIBILITY() local
2119 friend _Sp_atomic<weak_ptr<_Tp>>; in _GLIBCXX_VISIBILITY()
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/tr1/
Dshared_ptr.h509 class weak_ptr; in _GLIBCXX_VISIBILITY() local
1015 shared_ptr(const weak_ptr<_Tp1>& __r) in _GLIBCXX_VISIBILITY()
1087 class weak_ptr in _GLIBCXX_VISIBILITY()
1091 weak_ptr() in _GLIBCXX_VISIBILITY()
1095 weak_ptr(const weak_ptr<_Tp1>& __r) in _GLIBCXX_VISIBILITY()
1099 weak_ptr(const shared_ptr<_Tp1>& __r) in _GLIBCXX_VISIBILITY()
1103 weak_ptr& in _GLIBCXX_VISIBILITY()
1104 operator=(const weak_ptr<_Tp1>& __r) // never throws in _GLIBCXX_VISIBILITY()
1111 weak_ptr& in _GLIBCXX_VISIBILITY()
1179 mutable weak_ptr<_Tp> _M_weak_this; in _GLIBCXX_VISIBILITY()
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/
DChangeLog-201038 * testsuite/20_util/weak_ptr/cons/constexpr.cc: Likewise.
174 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
205 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
222 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
248 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
261 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
444 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line number.
480 * testsuite/20_util/weak_ptr/cons/constexpr.cc: Add.
481 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line number.
640 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
[all …]
DChangeLog-20111261 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Remove note tags.
1673 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
1719 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1794 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line numbers.
1863 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
2315 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line numbers.
2772 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Updated.
3215 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
3231 * testsuite/20_util/weak_ptr/cons/noexcept_move_construct.cc:
3618 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
[all …]
DChangeLog-2007213 * testsuite/20_util/shared_ptr/cons/weak_ptr.cc: Likewise.
237 * testsuite/20_util/weak_ptr/lock/1.cc: Duplicate tr1 test.
238 * testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc:
240 * testsuite/20_util/weak_ptr/requirements/explicit_instantiation/2.cc:
242 * testsuite/20_util/weak_ptr/requirements/explicit_instantiation.cc:
2576 * testsuite/tr1/2_general_utilities/weak_ptr/requirements/
5635 * testsuite/20_util/weak_ptr/requirements/
6447 * testsuite/20_util/weak_ptr/requirements/
6824 * tr1/2_general_utilities/weak_ptr
6919 * tr1/2_general_utilities/memory/shared_ptr/cons/weak_ptr.cc
[all …]
DChangeLog-20061663 weak_ptr<>::weak_ptr(const __shared_ptr<>&), weak_ptr(const
1666 shared_ptr(const weak_ptr<>&), shared_ptr(const shared_ptr<>&,
1671 shared_ptr<>&), weak_ptr<>::weak_ptr(const shared_ptr<>&),
1672 weak_ptr(const weak_ptr<>&), weak_ptr<>::lock(),
1680 * testsuite/tr1/2_general_utilities/memory/weak_ptr/lock/1.cc:
1710 * testsuite/tr1/2_general_utilities/memory/weak_ptr/
DChangeLog-2014710 * include/bits/shared_ptr.h (weak_ptr): Add move constructor and
717 * include/bits/shared_ptr.h (shared_ptr, weak_ptr): Define
1755 * testsuite/20_util/shared_ptr/cons/weak_ptr.cc: Likewise.
1891 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
1892 * testsuite/20_util/weak_ptr/cons/constexpr.cc: Likewise.
1893 * testsuite/20_util/weak_ptr/cons/noexcept_move_construct.cc: Likewise.
1894 * testsuite/20_util/weak_ptr/lock/1.cc: Likewise.
1895 * testsuite/20_util/weak_ptr/observers/owner_before.cc: Likewise.
6608 * testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc:
6610 * testsuite/20_util/weak_ptr/requirements/explicit_instantiation/2.cc:
[all …]
DChangeLog-2008553 (__weak_ptr::operator<,weak_ptr::operator<=,weak_ptr::operator>,
554 weak_ptr::operator>=): Remove operator< and delete all comparisons.
560 (swap(weak_ptr,weak_ptr)): Add missing overload.
565 * testsuite/20_util/weak_ptr/observers/owner_before.cc: New.
566 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: New.
DChangeLog-20161313 (weak_ptr::_Convertible): Replace with _Constructible.
1314 (weak_ptr::_Constructible, weak_ptr::_Assignable): Forward checks
1316 (weak_ptr::weak_ptr, weak_ptr::operator=): Constrain templates
1322 other types of shared_ptr and weak_ptr.
1339 (weak_ptr::_Convertible): Replace with _Compatible.
1340 (weak_ptr::_Compatible, weak_ptr::_Assignable): New constraints for
1341 conversions from other types of weak_ptr and shared_ptr.
1449 (shared_ptr(const weak_ptr<_Tp1>&)): Constrain with _Compatible.
3453 * testsuite/tr1/2_general_utilities/shared_ptr/cons/weak_ptr.cc:
5141 * testsuite/20_util/shared_ptr/cons/weak_ptr.cc: Likewise.
[all …]
DChangeLog2119 * include/bits/shared_ptr_base.h (weak_ptr::operator=):
2121 * testsuite/20_util/weak_ptr/cons/self_move.cc: New test.
3627 support for atomic<shared_ptr<T>> and atomic<weak_ptr<T>>.
4762 * testsuite/20_util/weak_ptr/atomic_weak_ptr.cc: Likewise.
5017 (atomic<shared_ptr<T>>, atomic<weak_ptr<T>>): New partial
5024 * testsuite/20_util/weak_ptr/atomic_weak_ptr.cc: New test.
DChangeLog-20171331 * testsuite/20_util/weak_ptr/cons/deduction.cc: Likewise.
2418 * testsuite/20_util/weak_ptr/observers/owner_before.cc: Likewise.
3032 * include/bits/shared_ptr.h (shared_ptr, weak_ptr): Add deduction
3053 * testsuite/20_util/weak_ptr/cons/deduction.cc: New test.
DChangeLog-20093240 * testsuite/20_util/weak_ptr/observers/owner_before.cc: Likewise.
5776 * testsuite/20_util/shared_ptr/cons/weak_ptr.cc: Likewise.
5849 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
5850 * testsuite/20_util/weak_ptr/lock/1.cc: Likewise.
5851 * testsuite/20_util/weak_ptr/observers/owner_before.cc: Likewise.
5852 * testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc:
5854 * testsuite/20_util/weak_ptr/requirements/explicit_instantiation/2.cc:
8320 * testsuite/tr1/2_general_utilities/shared_ptr/cons/weak_ptr.cc:
8354 * testsuite/tr1/2_general_utilities/weak_ptr/lock/1.cc: Likewise.
8355 * testsuite/tr1/2_general_utilities/weak_ptr/requirements/explicit_instantiation/1.cc:
[all …]
DChangeLog-2015164 experimental::shared_ptr, experimental::weak_ptr): Constrain
2024 * include/bits/shared_ptr_base.h (weak_ptr::_M_assign): Don't assign
2296 * testsuite/20_util/weak_ptr/cons/constexpr.cc: Likewise.
DChangeLog-2005997 swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
4649 shared_ptr/cons/weak_ptr.cc: New test.
DChangeLog-20186082 weak_ptr of array types.
6110 type for pointer stored by shared_ptr, weak_ptr and unique_ptr.
DChangeLog-20195262 shared_ptr and weak_ptr.
DChangeLog-20215634 * testsuite/20_util/weak_ptr/cons/deduction.cc: Likewise.
DChangeLog-20202258 * include/bits/shared_ptr.h (shared_ptr(const weak_ptr&, nothrow_t)):
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
Dfuture441 weak_ptr<_State_baseV2> __self)
603 weak_ptr<_State_baseV2> _M_shared_state;
1464 _M_run_delayed(_Args&&... __args, weak_ptr<_State_base>) = 0;
1496 _M_run_delayed(_Args&&... __args, weak_ptr<_State_base> __self)
/netbsd/src/external/gpl3/gcc/dist/
DMD5SUMS108200 a528a67a2796e98f560c2ad59405ac7b libstdc++-v3/testsuite/20_util/shared_ptr/cons/weak_ptr.cc
108551 7b0d83ebbf92b543b6da8bb8354c8d7f libstdc++-v3/testsuite/20_util/weak_ptr/atomic_weak_ptr.cc
108552 b2b0c6b9f86b1efcb39de1f46c135626 libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc
108553 062912af6cc2812770b9f3df078e2f9d libstdc++-v3/testsuite/20_util/weak_ptr/cons/constexpr.cc
108554 a5b18b777dd65ca7630d04aa157ff6b4 libstdc++-v3/testsuite/20_util/weak_ptr/cons/deduction.cc
108555 9b3fa66b4a5dc6f5f4f197cd9b003692 libstdc++-v3/testsuite/20_util/weak_ptr/cons/noexcept_move_constr…
108556 6a9ce5f99e0bc779530a9660ce1210f8 libstdc++-v3/testsuite/20_util/weak_ptr/cons/self_move.cc
108557 d6cb1337e6bbd1947766ec249aac7c21 libstdc++-v3/testsuite/20_util/weak_ptr/lock/1.cc
108558 7d2e31f83947b9d059327be6985803ac libstdc++-v3/testsuite/20_util/weak_ptr/observers/owner_before.cc
108559 4ae446b5eec864c6117df0020c33be5f libstdc++-v3/testsuite/20_util/weak_ptr/requirements/explicit_ins…
[all …]