logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

std::pmr::unsynchronized_pool_resource - A non-thread-safe memory resource that manages pools of fixed-

Author

       Generated automatically by Doxygen for libstdc++ from the source code.

                                                    libstdc++       std::pmr::unsynchronized_pool_resource(3cxx)

Detailed Description

       A non-thread-safe memory resource that manages pools of fixed-size blocks.

       Since
           C++17

Member Function Documentation

void*std::pmr::unsynchronized_pool_resource::do_allocate(size_t__bytes,size_t__alignment)[override],[protected],[virtual]
       Implements std::pmr::memory_resource.

   voidstd::pmr::unsynchronized_pool_resource::do_deallocate(void*__p,size_t__bytes,size_t__alignment)[override],[protected],[virtual]
       Implements std::pmr::memory_resource.

   boolstd::pmr::unsynchronized_pool_resource::do_is_equal(constmemory_resource&__other)const[inline],[override],[protected],[virtual],[noexcept]
       Implements std::pmr::memory_resource.

Name

       std::pmr::unsynchronized_pool_resource - A non-thread-safe memory resource that manages pools of fixed-
       size blocks.

Synopsis

       #include <memory_resource>

       Inherits std::pmr::memory_resource.

   PublicMemberFunctionsunsynchronized_pool_resource (const pool_options &__opts)
       unsynchronized_pool_resource (const pool_options &__opts, memory_resource *__upstream)
       unsynchronized_pool_resource (const unsynchronized_pool_resource &)=deleteunsynchronized_pool_resource (memory_resource *__upstream)
       void * allocate (size_t __bytes, size_t __alignment=_S_max_align)
       voiddeallocate (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 &)=deletepool_optionsoptions () const noexcept
       voidrelease ()
       memory_resource * upstream_resource () const noexcept

   ProtectedMemberFunctionsvoid * do_allocate (size_t __bytes, size_t __alignment) overridevoiddo_deallocate (void *__p, size_t __bytes, size_t __alignment) override
       bool do_is_equal (const memory_resource &__other) const noexcept override

See Also