cptr::operator==

Same pointer and same tag.

Synopsis

Declared in <cptr/pack.hpp>

constexpr
bool
operator==(
    tagged_ptr lhs,
    tagged_ptr rhs) noexcept = default;

NOTE

This function is a hidden friend of tagged_ptr, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

true if the objects are equal, false otherwise

Parameters

NameDescription
lhsThe left operand
rhsThe right operand