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

◆ shared_ptr() [6/11]

template<typename T>
template<typename Y, typename = typename fl::enable_if<fl::is_base_of<T, Y>::value || fl::is_base_of<Y, T>::value>::type>
fl::shared_ptr< T >::shared_ptr ( const shared_ptr< Y > & other)
inline

Definition at line 157 of file shared_ptr.h.

157 : ptr_(static_cast<T*>(other.ptr_)), control_block_(other.control_block_) {
158 acquire();
159 }
detail::ControlBlockBase * control_block_
Definition shared_ptr.h:109

References shared_ptr, acquire(), control_block_, and ptr_.

+ Here is the call graph for this function: