Documentation Home

Compare to iterators to see if they refer to the same element.

bool operator==(iterator const& lhs,iterator const& rhs);

Returns:

true if the element referred to by lhs is the same as the element referred to by rhs, both are past-the-end iterators, or either node is an anchor and the other refers to the anchored position. Otherwise, if either element is an anchor, or neither iterator refers to a deleted node, returns false.

Throws:

jss::concurrent_modification if neither element is an anchor, and either lhs.is_deleted_node() or rhs.is_deleted_node() returns true.

bool operator!=(iterator const& lhs,iterator const& rhs);

Returns:

!(lhs==rhs)

Header

#include <jss/concurrent_map.hpp>

See Also