Compartilhar via


Operadores <memory_resource>

operator!=

Testa se o objeto memory_resource à esquerda do operador é diferente do objeto memory_resource à direita.

template <class T1, class T2>
    bool operator!=(const polymorphic_allocator<T1>& a, const polymorphic_allocator<T2>& b) noexcept;

operator==

Testa se o objeto memory_resource à esquerda do operador é igual ao objeto memory_resource à direita.

template <class T1, class T2>
    bool operator==(const polymorphic_allocator<T1>& a, const polymorphic_allocator<T2>& b) noexcept;