Full example for cetl::pmr::UnsynchronizedO1HeapMemoryResourceDelegate
#include <gtest/gtest.h>
{
namespace pf17
{
TEST(example_11_memory_resource_o1heap, main)
{
void* mem = test_subject.allocate(8);
ASSERT_NE(nullptr, mem);
test_subject.deallocate(mem, 8);
}
}
}
Definition o1heap_memory_resource_delegate.hpp:48
This namespace contains types specific to CETL and nested namespaces that contain types adhering to t...
Definition _helper_enable_copy_move.hpp:10
Defines cetl::pmr::O1HeapMemoryResource which is a std::pmr::memory_resource implemented in terms of ...
Definition o1heap_memory_resource_delegate.hpp:34