Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::pmr::synchronized_pool_resource::do_is_equal

      From cppreference.com
      <cpp‎ |memory‎ |synchronized pool resource
       
       
      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)
       
       
      virtualbool do_is_equal(conststd::pmr::memory_resource& other)constnoexcept;
      (since C++17)

      Compare*this withother for identity - memory allocated using asynchronized_pool_resource can only be deallocated using that same resource.

      [edit] Return value

      this==&other

      [edit] Defect report

      The following behavior-changing defect reports were applied retroactively to previously published C++ standards.

      DRApplied toBehavior as publishedCorrect behavior
      LWG 3000C++17unnecessarydynamic_cast was performedremoved

      [edit] See also

      [virtual]
      compare for equality with anothermemory_resource
      (virtual private member function ofstd::pmr::memory_resource)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/memory/synchronized_pool_resource/do_is_equal&oldid=155474"

      [8]ページ先頭

      ©2009-2026 Movatter.jp