FastLED
3.10.6
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
164
of file
allocator.h
.
164
{
165
if
(
n
== 0) {
166
return
{
nullptr
, 0};
167
}
168
// Default implementation: just allocate exactly what's requested
169
// Specialized allocators may override to return more for efficiency
170
return
{
allocate
(
n
),
n
};
171
}
fl::allocator::allocate
T * allocate(fl::size n) FL_NO_EXCEPT
Definition
allocator.h:220
fl::allocator
Definition
allocator.h:134
fl
allocator
Generated on Sun Oct 4 2026 23:09:08 for FastLED by
1.13.2