13#ifndef CMSIS_PLUS_RTOS_OS_INLINES_H_
14#define CMSIS_PLUS_RTOS_OS_INLINES_H_
22#if defined(__cplusplus)
44 object_named_system::operator
new (std::size_t bytes)
62 object_named_system::operator
new[] (std::size_t bytes)
65 return operator new (bytes);
81 object_named_system::operator
new (std::size_t,
void* ptr)
98 object_named_system::operator
new[] (std::size_t bytes,
void* ptr)
101 return operator new (bytes, ptr);
122 object_named_system::operator
delete (
void* ptr, std::size_t bytes)
127 static_cast<char*
> (ptr), bytes);
143 object_named_system::operator
delete[] (
void* ptr, std::size_t bytes)
146 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.