std::pmr::memory_resource::is_equal
來自 cppreference.com
< cpp | memory | memory resource
bool is_equal( const memory_resource& other ) const noexcept; |
(C++17 起) | |
比較 *this 與 other 的相等性。當且僅當從一個 memory_resource
分配的記憶體可以從另一個 memory_resource
解分配,反之亦然時,兩個 memory_resource
比較相等。
等價於 return do_is_equal(other);。
[編輯] 另請參閱
[virtual] |
與另一個 memory_resource 進行相等比較(虛私有成員函式) |