Namespaces
Variants

std::pmr::memory_resource:: is_equal

From cppreference.net
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* )
( 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)
bool is_equal ( const memory_resource & other ) const noexcept ;
(C++17부터)

* this other 의 동등성을 비교합니다. 두 개의 memory_resource 는 한 쪽 memory_resource 에서 할당된 메모리를 다른 쪽에서 해제할 수 있고 그 반대도 가능한 경우에만 동등한 것으로 비교됩니다.

다음 코드와 동일합니다: return do_is_equal ( other ) ; .

참고 항목

[virtual]
다른 memory_resource 와의 동등성 비교
(가상 private 멤버 함수)