operator== 運算子 (<scoped_allocator>)
測試兩個 scoped_allocator_adaptor 物件是否相等。
template<class Outer, class... Inner>
bool operator==(
const scoped_allocator_adaptor<Outer, Inner...>& left,
const scoped_allocator_adaptor<Outer, Inner...>& right) noexcept;
參數
left
左 scoped_allocator_adaptor 物件。right
正確的 scoped_allocator_adaptor 物件。
傳回值
left.outer_allocator() == right.outer_allocator() && left.inner_allocator() == right.inner_allocator()
需求
標題: <scoped_allocator>
命名空間: std