FastLED 3.9.15
|
Definition at line 10 of file weak_ptr.h.
#include <weak_ptr.h>
Public Types | |
using | element_type = T |
Public Member Functions | |
weak_ptr () noexcept | |
template<typename Y> | |
weak_ptr (const shared_ptr< Y > &shared) noexcept | |
weak_ptr (const weak_ptr &other) noexcept | |
template<typename Y> | |
weak_ptr (const weak_ptr< Y > &other) noexcept | |
weak_ptr (weak_ptr &&other) noexcept | |
template<typename Y> | |
weak_ptr (weak_ptr< Y > &&other) noexcept | |
~weak_ptr () | |
bool | expired () const noexcept |
shared_ptr< T > | lock () const noexcept |
bool | operator!= (const weak_ptr &other) const noexcept |
template<typename Y> | |
bool | operator!= (const weak_ptr< Y > &other) const noexcept |
template<typename Y> | |
weak_ptr & | operator= (const shared_ptr< Y > &shared) noexcept |
weak_ptr & | operator= (const weak_ptr &other) noexcept |
template<typename Y> | |
weak_ptr & | operator= (const weak_ptr< Y > &other) noexcept |
weak_ptr & | operator= (weak_ptr &&other) noexcept |
template<typename Y> | |
weak_ptr & | operator= (weak_ptr< Y > &&other) noexcept |
bool | operator== (const weak_ptr &other) const noexcept |
template<typename Y> | |
bool | operator== (const weak_ptr< Y > &other) const noexcept |
template<typename Y> | |
bool | owner_before (const shared_ptr< Y > &other) const noexcept |
template<typename Y> | |
bool | owner_before (const weak_ptr< Y > &other) const noexcept |
void | reset () noexcept |
void | swap (weak_ptr &other) noexcept |
long | use_count () const noexcept |
Private Member Functions | |
void | release () |
Private Attributes | |
detail::ControlBlockBase * | control_block_ |
T * | ptr_ |
Friends | |
template<typename Y> | |
class | weak_ptr |
template<typename Y> | |
class | shared_ptr |