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 10 of file weak_ptr.h.

#include <weak_ptr.h>

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

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_ptroperator= (const shared_ptr< Y > &shared) noexcept
 
weak_ptroperator= (const weak_ptr &other) noexcept
 
template<typename Y>
weak_ptroperator= (const weak_ptr< Y > &other) noexcept
 
weak_ptroperator= (weak_ptr &&other) noexcept
 
template<typename Y>
weak_ptroperator= (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::ControlBlockBasecontrol_block_
 
T * ptr_
 

Friends

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

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