FastLED 3.9.15
Loading...
Searching...
No Matches

◆ expired()

template<typename T>
bool fl::WeakPtr< T >::expired ( ) const
inline

Definition at line 382 of file ptr.h.

382 {
383 if (!mWeakPtr) {
384 return true;
385 }
386 if (!mWeakPtr->getReferent()) {
387 return true;
388 }
389 return false;
390 }
Ptr< WeakReferent > mWeakPtr
Definition ptr.h:397

References mWeakPtr.

Referenced by WeakPtr(), and WeakPtr().

+ Here is the caller graph for this function: