FastLED
3.10.8
Loading...
Searching...
No Matches
◆
operator=()
[2/4]
template<typename T>
template<typename Y, typename = typename fl::enable_if<fl::is_base_of<T, Y>::value>::type>
shared_ptr
&
fl::shared_ptr
< T >::operator=
(
const
shared_ptr
< Y > &
other
)
inline
Definition at line
264
of file
shared_ptr.h
.
264
{
265
reset
();
266
mPtr
=
static_cast<
T
*
>
(
other
.
mPtr
);
267
mControlBlock
=
other
.
mControlBlock
;
268
acquire
();
269
return
*
this
;
270
}
fl::shared_ptr::mControlBlock
detail::ControlBlockBase * mControlBlock
Definition
shared_ptr.h:166
fl::shared_ptr::reset
void reset() FL_NO_EXCEPT
Definition
shared_ptr.h:294
fl::shared_ptr::mPtr
T * mPtr
Definition
shared_ptr.h:165
fl::shared_ptr::acquire
void acquire() FL_NO_EXCEPT
Definition
shared_ptr.h:191
fl::shared_ptr
Definition
shared_ptr.h:163
fl
shared_ptr
Generated on Thu Oct 22 2026 05:46:09 for FastLED by
1.13.2