std::Object class
Object is the top class in the Alore class hierarchy, and all other classes are either directly or indirectly derived from it. Object defines an empty constructor, and the only operation that it supports is identity-based equality comparison using == or !=.
A class that does not define a superclass implicitly inherits from Object:
class A end A() is Object -- True A() == A() -- False (== operation inherited from Object)
Operations
- object == x
- An instance of Object is equal only to itself.