FastLED
3.9.15
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
274
of file
shared_ptr.h
.
274
{
275
if
(
static_cast<
void
*
>
(
this
) !=
static_cast<
void
*
>
(&
other
)) {
276
reset
();
277
mPtr
=
static_cast<
T
*
>
(
other
.
mPtr
);
278
mControlBlock
=
other
.
mControlBlock
;
279
other
.
mPtr
=
nullptr
;
280
other
.
mControlBlock
=
nullptr
;
281
}
282
return
*
this
;
283
}
fl::shared_ptr::mControlBlock
detail::ControlBlockBase * mControlBlock
Definition
shared_ptr.h:158
fl::shared_ptr::reset
void reset() FL_NOEXCEPT
Definition
shared_ptr.h:286
fl::shared_ptr::mPtr
T * mPtr
Definition
shared_ptr.h:157
fl::shared_ptr
Definition
shared_ptr.h:155
fl
shared_ptr
Generated on Tue Jun 16 2026 00:07:06 for FastLED by
1.13.2