Template Class WeakPtrFactory

Class Documentation

template<typename T>
class WeakPtrFactory

Public Functions

inline explicit WeakPtrFactory(T *ptr)
WeakPtrFactory(const WeakPtrFactory&) = delete
WeakPtrFactory(WeakPtrFactory&&) = delete
WeakPtrFactory &operator=(const WeakPtrFactory&) = delete
WeakPtrFactory &operator=(WeakPtrFactory&&) = delete
inline WeakPtr<T> GetWeakPtr() const
inline void InvalidateWeakPtrs()
inline bool HasWeakPtrs() const

Protected Attributes

T *const ptr_
std::shared_ptr<detail::WeakPtrControlBlock> control_block_