FastLED
3.9.15
Loading...
Searching...
No Matches
◆
allocate_at_least()
template<typename T>
allocation_result
<
pointer
,
size_type
>
fl::allocator
< T >::allocate_at_least
(
fl::size
n
)
inline
Definition at line
163
of file
allocator.h
.
163
{
164
if
(
n
== 0) {
165
return
{
nullptr
, 0};
166
}
167
// Default implementation: just allocate exactly what's requested
168
// Specialized allocators may override to return more for efficiency
169
return
{
allocate
(
n
),
n
};
170
}
fl::allocator::allocate
T * allocate(fl::size n) FL_NOEXCEPT
Definition
allocator.h:219
fl::allocator
Definition
allocator.h:133
fl
allocator
Generated on Tue Jun 16 2026 00:07:04 for FastLED by
1.13.2