FastLED
3.9.15
Loading...
Searching...
No Matches
◆
~scoped_array2()
template<typename T, typename Alloc = fl::allocator<T>>
fl::scoped_array2
< T, Alloc >::~
scoped_array2
(
)
inline
Definition at line
111
of file
scoped_array.h
.
111
{
112
if
(
arr_
) {
113
// Call destructor on each element
114
for
(
fl::size_t
i
= 0;
i
<
size_
; ++
i
) {
115
mAlloc
.destroy(&
arr_
[
i
]);
116
}
117
mAlloc
.deallocate(
arr_
,
size_
);
118
}
119
}
fl::scoped_array2::mAlloc
Alloc mAlloc
Definition
scoped_array.h:97
fl::scoped_array2::size_
fl::size_t size_
Definition
scoped_array.h:205
fl::scoped_array2::arr_
T * arr_
Definition
scoped_array.h:204
fl::scoped_array2
Definition
scoped_array.h:94
References
arr_
,
mAlloc
, and
size_
.
fl
scoped_array2
Generated on Fri Aug 22 2025 20:59:37 for FastLED by
1.13.2