LeviLamina
Loading...
Searching...
No Matches
WeakPtr< T > Class Template Reference

Public Member Functions

 WeakPtr (std::nullptr_t) noexcept
template<class Y>
requires (std::convertible_to<Y*, T*>)
 WeakPtr (SharedPtr< Y > const &other)
template<class Y>
requires (std::convertible_to<Y*, T*>)
 WeakPtr (WeakPtr< Y > const &other)
template<class Y>
requires (std::convertible_to<Y*, T*>)
 WeakPtr (WeakPtr< Y > &&other)
template<class Y>
requires (std::convertible_to<Y*, T*>)
WeakPtr< T > & operator= (SharedPtr< Y > const &other)
template<class Y>
requires (std::convertible_to<Y*, T*>)
WeakPtr< T > & operator= (WeakPtr< Y > const &other)
template<class Y>
requires (std::convertible_to<Y*, T*>)
WeakPtr< T > & operator= (WeakPtr< Y > &&other)
int use_count () const
bool expired () const
SharedPtr< T > lock () const
T * get () const
T * operator-> () const
T & operator* () const
 operator bool () const

Public Attributes

SharedCounter< T > * counter

The documentation for this class was generated from the following files: