std::pmr::memory_resource(3cxx)
okay bestie, welcome to the std::pmr::memory_resource(3cxx) page β it's giving libstdc++ memory-resource main character energy, and we are going to get through every single detail together πβ¨
π NAME π
std::pmr::memory_resource β Class memory_resource. Short, iconic, no cap π«Ά
β¨ SYNOPSIS β¨
#include <memory_resource>
Inherited by std::pmr::monotonic_buffer_resource, and std::pmr::unsynchronized_pool_resource. The inheritance tree is slaying π
πΈ Public Member Functions πΈ
memory_resource (const memory_resource &)=defaultβ constructor signature, defaulted, just like that πvoid * allocate (size_t __bytes, size_t __alignment=_S_max_align)β allocate signature with_S_max_alignas the default alignment, exact πvoid deallocate (void *__p, size_t __bytes, size_t __alignment=_S_max_align)β deallocate signature, same default alignment energy β¨bool is_equal (const memory_resource &__other) const noexceptβ the equality-check signature, and it'sconst noexcept, periodt πmemory_resource & operator= (const memory_resource &)=defaultβ assignment operator signature, defaulted, iconic π
π¦ Detailed Description π¦
Class memory_resource. That's the description, bestie β sometimes less is more ππ
β Since β
C++17. Periodt π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. The robots really wrote this one and they ate π€β¨
Okay that's the whole page, bestie. Cute sign-off time: shoutout to libstdc++ and the 3cxx page β the footer's source/version is libstdc++, and there's no date listed there, so I'm not inventing one, just sending you this sparkly generated-by-Doxygen energy π
πβ¨
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms