|
FastLED 3.9.15
|
PMR-style polymorphic memory resource for type-erased allocation.
Replaces template-based allocators with runtime polymorphism. Used by vector_basic to decouple allocation strategy from container type.
Definition in file memory_resource.h.
Include dependency graph for memory_resource.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | fl::memory_resource |
| Polymorphic memory resource base class (PMR-style). More... | |
Namespaces | |
| namespace | fl |
| Base definition for an LED controller. | |
Functions | |
| memory_resource * | fl::default_memory_resource () FL_NOEXCEPT |
| Get the default memory resource (wraps fl::Malloc / fl::Free / fl::realloc). | |
| memory_resource * | fl::psram_memory_resource () FL_NOEXCEPT |
| Get the PSRAM memory resource (wraps PSRamAllocate / PSRamDeallocate). | |