Class std::Object

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

A() is Object  -- True
A() == A()     -- False (== operation inherited from Object)
class Object()
Construct an instance of Object.


object == x
An instance of Object is equal only to itself.