FastLED
3.10.8
Loading...
Searching...
No Matches
◆
operator=()
[4/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=
(
shared_ptr
< Y > &&
other
)
inline
Definition at line
282
of file
shared_ptr.h
.
282
{
283
if
(
static_cast<
void
*
>
(
this
) !=
static_cast<
void
*
>
(&
other
)) {
284
reset
();
285
mPtr
=
static_cast<
T
*
>
(
other
.
mPtr
);
286
mControlBlock
=
other
.
mControlBlock
;
287
other
.
mPtr
=
nullptr
;
288
other
.
mControlBlock
=
nullptr
;
289
}
290
return
*
this
;
291
}
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
Definition
shared_ptr.h:163
fl
shared_ptr
Generated on Thu Oct 22 2026 05:46:09 for FastLED by
1.13.2