Provided by: libstdc++-13-doc_13-20230320-1ubuntu1_all
NAME
std::pmr::unsynchronized_pool_resource - A non-thread-safe memory resource that manages pools of fixed-size blocks.
SYNOPSIS
Inherits std::pmr::memory_resource. Public Member Functions unsynchronized_pool_resource (const pool_options &__opts) unsynchronized_pool_resource (const pool_options &__opts, memory_resource *__upstream) unsynchronized_pool_resource (const unsynchronized_pool_resource &)=delete unsynchronized_pool_resource (memory_resource *__upstream) void * allocate (size_t __bytes, size_t __alignment=_S_max_align) void deallocate (void *__p, size_t __bytes, size_t __alignment=_S_max_align) bool is_equal (const memory_resource &__other) const noexcept unsynchronized_pool_resource & operator= (const unsynchronized_pool_resource &)=delete pool_options options () const noexcept void release () memory_resource * upstream_resource () const noexcept Protected Member Functions void * do_allocate (size_t __bytes, size_t __alignment) override void do_deallocate (void *__p, size_t __bytes, size_t __alignment) override bool do_is_equal (const memory_resource &__other) const noexcept override
Detailed Description
A non-thread-safe memory resource that manages pools of fixed-size blocks. Definition at line 221 of file memory_resource.
Constructor & Destructor Documentation
std::pmr::unsynchronized_pool_resource::unsynchronized_pool_resource () [inline] Definition at line 228 of file memory_resource. std::pmr::unsynchronized_pool_resource::unsynchronized_pool_resource (memory_resource * __upstream) [inline], [explicit] Definition at line 234 of file memory_resource. std::pmr::unsynchronized_pool_resource::unsynchronized_pool_resource (const pool_options & __opts) [inline], [explicit] Definition at line 239 of file memory_resource.
Member Function Documentation
void * std::pmr::memory_resource::allocate (size_t __bytes, size_t __alignment = _S_max_align) [inline], [inherited] Definition at line 69 of file memory_resource.h. void std::pmr::memory_resource::deallocate (void * __p, size_t __bytes, size_t __alignment = _S_max_align) [inline], [inherited] Definition at line 74 of file memory_resource.h. void * std::pmr::unsynchronized_pool_resource::do_allocate (size_t __bytes, size_t __alignment) [override], [protected], [virtual] Implements std::pmr::memory_resource. void std::pmr::unsynchronized_pool_resource::do_deallocate (void * __p, size_t __bytes, size_t __alignment) [override], [protected], [virtual] Implements std::pmr::memory_resource. bool std::pmr::unsynchronized_pool_resource::do_is_equal (const memory_resource & __other) const [inline], [override], [protected], [virtual], [noexcept] Implements std::pmr::memory_resource. Definition at line 266 of file memory_resource. bool std::pmr::memory_resource::is_equal (const memory_resource & __other) const [inline], [noexcept], [inherited] Definition at line 80 of file memory_resource.h. pool_options std::pmr::unsynchronized_pool_resource::options () const [inline], [noexcept] Definition at line 256 of file memory_resource. memory_resource * std::pmr::unsynchronized_pool_resource::upstream_resource () const [inline], [noexcept] Definition at line 253 of file memory_resource.
Author
Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Mon Mar 20 2std::pmr::unsynchronized_pool_resource(3cxx)