#include <weak_ptr.hpp>
template<typename T>
class std::weak_ptr< T >
◆ const_value_type
◆ element_type
◆ pointer
◆ ref_type
◆ self_type
◆ shared_type
◆ value_type
◆ weak_ptr() [1/5]
52 : _m_ptr(pValue), _m_ref(
new atomic<ref_type>(1)) { }
◆ weak_ptr() [2/5]
55 : _m_ptr(r._m_ptr), _m_ref(r._m_ref) { }
◆ weak_ptr() [3/5]
58 : _m_ptr(pShrd.get()), _m_ref(
new atomic<ref_type>(pShrd.ref())) {}
◆ weak_ptr() [4/5]
template<typename T >
template<typename other >
62 : _m_ptr(r._m_ptr), _m_ref(r._m_ref) { }
◆ weak_ptr() [5/5]
template<typename T >
template<typename other >
66 : _m_ptr(pShrd.get()), _m_ref(
new atomic<ref_type>(pShrd.ref())) {}
◆ expired()
ref_type use_count() const
Definition: weak_ptr.hpp:77
◆ lock()
69 return shared_ptr(_m_ptr);
◆ operator bool()
◆ operator*()
◆ operator->()
◆ operator=()
◆ owner_before() [1/2]
template<typename T >
template<class Y >
92 return _m_ref < rhs._m_ref;
◆ owner_before() [2/2]
template<typename T >
template<class Y >
96 return _m_ref < rhs.ref();
◆ reset()
weak_ptr< value_type > self_type
Definition: weak_ptr.hpp:48
◆ swap()
87 std::swap<value_type>(_m_ptr, other._m_ptr);
88 _m_ref.
swap(other._m_ref);
void swap(self_type &other)
Definition: atomic.hpp:105
◆ use_count()
value_type get()
Definition: atomic.hpp:61
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: