SuperTinyKernel™ RTOS 1.06.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
Loading...
Searching...
No Matches
stk_memory_allocator.h File Reference

Weak declaration of memory allocator: stk::memory::MemoryAllocator. More...

#include "stk_defs.h"
#include <type_traits>
#include <new>
Include dependency graph for stk_memory_allocator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  stk::memory::MemoryAllocator
 Memory allocator for allocating dynamic memory. More...
class  stk::memory::MemoryAllocator::Stats
 Snapshot of the memory allocator's statistics. More...

Namespaces

namespace  stk
 Namespace of STK package.
namespace  stk::memory
 Memory-related primitives.

Macros

#define STK_MEMORY_PLACEMENT_NEW   (1)
 When defined as 1, placement new C++ operator is enabled for memory::MemoryAllocator.

Detailed Description

Weak declaration of memory allocator: stk::memory::MemoryAllocator.

Definition in file stk_memory_allocator.h.

Macro Definition Documentation

◆ STK_MEMORY_PLACEMENT_NEW

#define STK_MEMORY_PLACEMENT_NEW   (1)

When defined as 1, placement new C++ operator is enabled for memory::MemoryAllocator.

See also
memory::MemoryAllocator::AllocateOneT, memory::MemoryAllocator::AllocateArrayT

Definition at line 20 of file stk_memory_allocator.h.