Freigeben über


operator== Operator (<scoped_allocator>)

Tests two scoped_allocator_adaptor objects for equality.

template<class Outer, class... Inner>
    bool operator==(
        const scoped_allocator_adaptor<Outer, Inner...>& left,
        const scoped_allocator_adaptor<Outer, Inner...>& right) noexcept;

Parameters

  • left
    The left scoped_allocator_adaptor object.

  • right
    The right scoped_allocator_adaptor object.

Return Value

left.outer_allocator() == right.outer_allocator() && left.inner_allocator() == right.inner_allocator()

Requirements

Header: <scoped_allocator>

Namespace: std

See Also

Reference

scoped_allocator_adaptor Class

operator!= Operator (<scoped_allocator>)