inline bool Descriptor::operator==(const Descriptor& d) const noexcept { REALM_ASSERT(is_attached()); REALM_ASSERT(d.is_attached()); return *m_spec == *d.m_spec; }