FastLED 3.9.15
Loading...
Searching...
No Matches
fl::weak_ptr< T > Class Template Reference

Detailed Description

template<typename T>
class fl::weak_ptr< T >

Definition at line 11 of file weak_ptr.h.

#include <weak_ptr.h>

+ Inheritance diagram for fl::weak_ptr< T >:
+ Collaboration diagram for fl::weak_ptr< T >:

Public Types

using element_type = T
 

Public Member Functions

 weak_ptr () FL_NOEXCEPT
 
template<typename Y>
 weak_ptr (const shared_ptr< Y > &shared) FL_NOEXCEPT
 
 weak_ptr (const weak_ptr &other) FL_NOEXCEPT
 
template<typename Y>
 weak_ptr (const weak_ptr< Y > &other) FL_NOEXCEPT
 
 weak_ptr (weak_ptr &&other) FL_NOEXCEPT
 
template<typename Y>
 weak_ptr (weak_ptr< Y > &&other) FL_NOEXCEPT
 
 ~weak_ptr () FL_NOEXCEPT
 
bool expired () const FL_NOEXCEPT
 
shared_ptr< T > lock () const FL_NOEXCEPT
 
bool operator!= (const weak_ptr &other) const FL_NOEXCEPT
 
template<typename Y>
bool operator!= (const weak_ptr< Y > &other) const FL_NOEXCEPT
 
template<typename Y>
weak_ptroperator= (const shared_ptr< Y > &shared) FL_NOEXCEPT
 
weak_ptroperator= (const weak_ptr &other) FL_NOEXCEPT
 
template<typename Y>
weak_ptroperator= (const weak_ptr< Y > &other) FL_NOEXCEPT
 
weak_ptroperator= (weak_ptr &&other) FL_NOEXCEPT
 
template<typename Y>
weak_ptroperator= (weak_ptr< Y > &&other) FL_NOEXCEPT
 
bool operator== (const weak_ptr &other) const FL_NOEXCEPT
 
template<typename Y>
bool operator== (const weak_ptr< Y > &other) const FL_NOEXCEPT
 
template<typename Y>
bool owner_before (const shared_ptr< Y > &other) const FL_NOEXCEPT
 
template<typename Y>
bool owner_before (const weak_ptr< Y > &other) const FL_NOEXCEPT
 
void reset () FL_NOEXCEPT
 
void swap (weak_ptr &other) FL_NOEXCEPT
 
long use_count () const FL_NOEXCEPT
 

Private Member Functions

void release () FL_NOEXCEPT
 

Private Attributes

detail::ControlBlockBasemControlBlock
 
T * mPtr
 

Friends

template<typename Y>
class weak_ptr
 
template<typename Y>
class shared_ptr
 

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