|
constexpr std::size_t | align_size (std::size_t size, std::size_t align) noexcept |
| Helper function to align size values.
|
|
template<typename T , typename A , typename ... Args> |
auto | allocate_unique (const A &allocator, Args &&... args) |
| Function template to allocate a unique pointer.
|
|
template<> |
memory_resource * | get_resource_typed< condition_variable > (void) noexcept |
|
template<> |
memory_resource * | get_resource_typed< event_flags > (void) noexcept |
|
template<> |
memory_resource * | get_resource_typed< memory_pool > (void) noexcept |
|
template<> |
memory_resource * | get_resource_typed< message_queue > (void) noexcept |
|
template<> |
memory_resource * | get_resource_typed< mutex > (void) noexcept |
|
template<> |
memory_resource * | get_resource_typed< semaphore > (void) noexcept |
|
template<> |
memory_resource * | get_resource_typed< thread > (void) noexcept |
|
template<> |
memory_resource * | get_resource_typed< timer > (void) noexcept |
|
constexpr std::size_t | max (std::size_t a, std::size_t b) |
|
template<typename T1 , typename T2 , typename L , F get_resource> |
bool | operator!= (const allocator_stateless_polymorphic_synchronized< T1, L, get_resource > &lhs, const allocator_stateless_polymorphic_synchronized< T2, L, get_resource > &rhs) noexcept |
|
template<typename T1 , typename T2 , typename L , F get_resource> |
bool | operator== (const allocator_stateless_polymorphic_synchronized< T1, L, get_resource > &lhs, const allocator_stateless_polymorphic_synchronized< T2, L, get_resource > &rhs) noexcept |
|
template<> |
memory_resource * | set_resource_typed< condition_variable > (memory_resource *res) noexcept |
|
template<> |
memory_resource * | set_resource_typed< event_flags > (memory_resource *res) noexcept |
|
template<> |
memory_resource * | set_resource_typed< memory_pool > (memory_resource *res) noexcept |
|
template<> |
memory_resource * | set_resource_typed< message_queue > (memory_resource *res) noexcept |
|
template<> |
memory_resource * | set_resource_typed< mutex > (memory_resource *res) noexcept |
|
template<> |
memory_resource * | set_resource_typed< semaphore > (memory_resource *res) noexcept |
|
template<> |
memory_resource * | set_resource_typed< thread > (memory_resource *res) noexcept |
|
template<> |
memory_resource * | set_resource_typed< timer > (memory_resource *res) noexcept |
|
|
memory_resource * | malloc_resource (void) noexcept |
| Get the address of a memory manager based on POSIX malloc() .
|
|
memory_resource * | set_default_resource (memory_resource *res) noexcept |
| Set the default RTOS system memory manager.
|
|
memory_resource * | get_default_resource (void) noexcept |
| Get the default RTOS system memory manager.
|
|
void | init_once_default_resource (void) |
|
|
bool | operator== (const memory_resource &lhs, const memory_resource &rhs) noexcept |
| Compare the memory_resource instances for equality.
|
|
bool | operator!= (const memory_resource &lhs, const memory_resource &rhs) noexcept |
| Compare the memory_resource instances for inequality.
|
|
|
template<typename T > |
memory_resource * | set_resource_typed (memory_resource *res) noexcept |
| Function template to set a memory resource.
|
|
template<typename T > |
memory_resource * | get_resource_typed (void) noexcept |
| Function template to get a memory resource.
|
|
template<> |
memory_resource * | set_resource_typed< thread > (memory_resource *res) noexcept |
|
template<> |
memory_resource * | get_resource_typed< thread > (void) noexcept |
|
template<> |
memory_resource * | set_resource_typed< condition_variable > (memory_resource *res) noexcept |
|
template<> |
memory_resource * | get_resource_typed< condition_variable > (void) noexcept |
|
template<> |
memory_resource * | set_resource_typed< event_flags > (memory_resource *res) noexcept |
|
template<> |
memory_resource * | get_resource_typed< event_flags > (void) noexcept |
|
template<> |
memory_resource * | set_resource_typed< memory_pool > (memory_resource *res) noexcept |
|
template<> |
memory_resource * | get_resource_typed< memory_pool > (void) noexcept |
|
template<> |
memory_resource * | set_resource_typed< message_queue > (memory_resource *res) noexcept |
|
template<> |
memory_resource * | get_resource_typed< message_queue > (void) noexcept |
|
template<> |
memory_resource * | set_resource_typed< mutex > (memory_resource *res) noexcept |
|
template<> |
memory_resource * | get_resource_typed< mutex > (void) noexcept |
|
template<> |
memory_resource * | set_resource_typed< semaphore > (memory_resource *res) noexcept |
|
template<> |
memory_resource * | get_resource_typed< semaphore > (void) noexcept |
|
template<> |
memory_resource * | set_resource_typed< timer > (memory_resource *res) noexcept |
|
template<> |
memory_resource * | get_resource_typed< timer > (void) noexcept |
|