Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::pmr::memory_resource

      From cppreference.com
      <cpp‎ |memory
       
       
      Memory management library
      (exposition only*)
      Allocators
      Uninitialized memory algorithms
      Constrained uninitialized memory algorithms
      Memory resources
      Uninitialized storage(until C++20)
      (until C++20*)
      (until C++20*)
      Garbage collector support(until C++23)
      (C++11)(until C++23)
      (C++11)(until C++23)
      (C++11)(until C++23)
      (C++11)(until C++23)
      (C++11)(until C++23)
      (C++11)(until C++23)
       
       
      Defined in header<memory_resource>
      class memory_resource;
      (since C++17)

      The classstd::pmr::memory_resource is an abstract interface to an unbounded set of classes encapsulating memory resources.

      Contents

      [edit]Member functions

      (implicitly declared)
      constructs a newmemory_resource
      (public member function)[edit]
      (destructor)
      [virtual]
      destructs amemory_resource
      (virtual public member function)[edit]
      operator=
      (implicitly declared)
      Implicitly declared copy assignment operator
      (public member function)[edit]
      Public member functions
      allocates memory
      (public member function)[edit]
      deallocates memory
      (public member function)[edit]
      compare for equality with anothermemory_resource
      (public member function)[edit]
      Private member functions
      [virtual]
      allocates memory
      (virtual private member function)[edit]
      [virtual]
      deallocates memory
      (virtual private member function)[edit]
      [virtual]
      compare for equality with anothermemory_resource
      (virtual private member function)[edit]

      [edit]Non-member-functions

      (removed in C++20)
      compare twomemory_resources
      (function)[edit]

      [edit]Notes

      Feature-test macroValueStdFeature
      __cpp_lib_memory_resource201603L(C++17)std::pmr::memory_resource
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/memory/memory_resource&oldid=155180"

      [8]ページ先頭

      ©2009-2025 Movatter.jp