Luna::Ref::operator==

bool operator==(_Ty *rhs) const

Compares one reference with one native pointer for equality.

Parameters

  • in rhs

    The native pointer to compare with.

Return value

Returns true if get() == rhs . Returns false otherwise.