Same address, between a ptr and a strict_ptr to the same type, which would otherwise be ambiguous: each converts to the other.
Declared in <cptr/ptr.hpp>
template<bool S>
requires (S != Strict)
constexpr
bool
operator==(
basic_ptr a,
basic_ptr<T, Cage, S> const& b) noexcept;
This function is a hidden friend of basic_ptr, declared only inside that class: it can be found only through argument-dependent lookup.
true if the objects are equal, false otherwise
| Name | Description |
|---|---|
| a | The left operand |
| b | The right operand |