Provided by: libstdc++-13-doc_13-20230320-1ubuntu1_all bug

NAME

       std::pmr::memory_resource - Class memory_resource.

SYNOPSIS

       #include <memory_resource>

       Inherited by std::pmr::monotonic_buffer_resource, std::pmr::synchronized_pool_resource,
       and std::pmr::unsynchronized_pool_resource.

   Public Member Functions
       memory_resource (const memory_resource &)=default
       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
       memory_resource & operator= (const memory_resource &)=default

Detailed Description

       Class memory_resource.

       Definition at line 56 of file memory_resource.

Member Function Documentation

   void * std::pmr::memory_resource::allocate (size_t __bytes, size_t __alignment = _S_max_align)
       [inline]
       Definition at line 69 of file memory_resource.

   void std::pmr::memory_resource::deallocate (void * __p, size_t __bytes, size_t __alignment =
       _S_max_align) [inline]
       Definition at line 74 of file memory_resource.

   bool std::pmr::memory_resource::is_equal (const memory_resource & __other) const [inline],
       [noexcept]
       Definition at line 80 of file memory_resource.

Author

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