std::pmr::unsynchronized_pool_resource:: do_is_equal
From cppreference.net
<
cpp
|
memory
|
unsynchronized pool resource
C++
Memory management library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::pmr::unsynchronized_pool_resource
| Public member functions | ||||
| Protected member functions | ||||
|
unsynchronized_pool_resource::do_is_equal
|
|
virtual
bool
do_is_equal
(
const
std::
pmr
::
memory_resource
&
other
)
const
noexcept
;
|
(自 C++17 起) | |
比较
*
this
与
other
的同一性——使用
unsynchronized_pool_resource
分配的内存只能通过同一资源进行释放。
返回值
this == & other
缺陷报告
下列行为变更缺陷报告被追溯应用于先前发布的 C++ 标准。
| 缺陷报告 | 适用范围 | 发布时行为 | 正确行为 |
|---|---|---|---|
| LWG 3000 | C++17 |
执行了不必要的
dynamic_cast
操作
|
已移除 |
参见
|
[virtual]
|
与另一个
memory_resource
进行相等性比较
(
std::pmr::memory_resource
的虚私有成员函数)
|