28#ifndef CMSIS_PLUS_RTOS_OS_INLINES_H_
29#define CMSIS_PLUS_RTOS_OS_INLINES_H_
37#if defined(__cplusplus)
59 object_named_system::operator
new (std::size_t bytes)
77 object_named_system::operator
new[] (std::size_t bytes)
80 return operator new (bytes);
96 object_named_system::operator
new (std::size_t,
void* ptr)
113 object_named_system::operator
new[] (std::size_t bytes,
void* ptr)
116 return operator new (bytes, ptr);
137 object_named_system::operator
delete (
void* ptr, std::size_t bytes)
142 static_cast<char*
> (ptr), bytes);
158 object_named_system::operator
delete[] (
void* ptr, std::size_t bytes)
161 operator delete (ptr, bytes);
Standard allocator based on the RTOS system default memory manager.
void deallocate(value_type *addr, std::size_t elements) noexcept
Deallocate the number of memory blocks of type value_type.
value_type * allocate(std::size_t elements)
Allocate a number of memory blocks of type value_type.
bool in_handler_mode(void)
Check if the CPU is in handler mode.