<memory_resource> – operátory

operator!=

Testuje, zda se objekt memory_resource na levé straně operátoru nerovná memory_resource objektu na pravé straně.

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

operator==

Testuje, zda je objekt memory_resource na levé straně operátoru roven memory_resource objektu na pravé straně.

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