Luna::ObjRef::operator<

bool operator<(const ObjRef &rhs) const

Compares two references.

The referneces are compared by comparing their underlying pointers after converted to unsigned integers. If the reference is not valid, the converted integer will be 0.

Parameters

  • in rhs

    The reference to compare with.

Return value

Returns true if this reference is less than the incoming reference. Returns false otherwise.