template< class OuterAlloc1, class OuterAlloc2, class... InnerAllocs >
bool operator==( const scoped_allocator_adaptor<OuterAlloc1, InnerAllocs...>& lhs,
const scoped_allocator_adaptor<OuterAlloc2, InnerAllocs...>& rhs ) noexcept;
| (since C++11) | |
template< class OuterAlloc1, class OuterAlloc2, class... InnerAllocs >
bool operator!=( const scoped_allocator_adaptor<OuterAlloc1, InnerAllocs...>& lhs,
const scoped_allocator_adaptor<OuterAlloc2, InnerAllocs...>& rhs ) noexcept;
| (since C++11) |
Compares two scoped allocator adaptors. Two such allocators are equal if:
lhs.outer_allocator() == rhs.outer_allocator(), and sizeof...(InnerAllocs) > 0, lhs.inner_allocator() == rhs.inner_allocator(). | lhs, rhs | - | scoped allocator adaptors to compare |
true if lhs and rhs are equal, false otherwise.true if lhs and rhs are not equal, false otherwise.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/memory/scoped_allocator_adaptor/operator_cmp