Namespaces
Variants

std::pmr::monotonic_buffer_resource:: do_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)
virtual bool do_is_equal ( const std:: pmr :: memory_resource & other ) const noexcept ;
(C++17부터)

* this other 를 동일성 비교합니다 - monotonic_buffer_resource 를 사용하여 할당된 메모리는 동일한 리소스를 통해서만 해제될 수 있습니다.

반환값

this == & other

결함 보고서

다음의 동작 변경 결함 보고서들은 이전에 발표된 C++ 표준에 소급 적용되었습니다.

DR 적용 대상 게시된 동작 올바른 동작
LWG 3000 C++17 불필요한 dynamic_cast 가 수행됨 제거됨

참고 항목

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