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

◆ Ptr() [1/6]

template<typename T>
template<typename U, typename>
fl::Ptr< T >::Ptr ( const Ptr< U > & refptr)
inline

Definition at line 32 of file ptr_impl.h.

32 : referent_(refptr.get()) {
33 if (referent_ && isOwned()) {
34 referent_->ref();
35 }
36}
T * referent_
Definition ptr.h:184
T * get() const
Definition ptr.h:168
bool isOwned() const
Definition ptr.h:180
Definition ptr.h:114

References Ptr(), get(), isOwned(), and referent_.

Referenced by Ptr(), Ptr(), Ptr(), New(), NoTracking(), Null(), operator!=(), operator<(), operator=(), operator=(), operator=(), operator==(), PtrTraits< T >, reset(), swap(), and TakeOwnership().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: