meta: minor changes

This commit is contained in:
Michele Caini
2023-04-06 12:40:50 +02:00
parent 89ab5c328a
commit bbe4582ee9

View File

@@ -1545,11 +1545,7 @@ public:
return !(ctx == nullptr);
}
/**
* @brief Checks if two objects refer to the same type.
* @param other The object with which to compare.
* @return True if the objects refer to the same type, false otherwise.
*/
/*! @copydoc meta_prop::operator== */
[[nodiscard]] bool operator==(const meta_type &other) const noexcept {
return (ctx == other.ctx) && ((!node.info && !other.node.info) || (node.info && other.node.info && *node.info == *other.node.info));
}