Category
page 1Class (computer programming)
class
in object-oriented programming, a definition that specifies how an object works
C++ class
type of data structure
multiple inheritance
inheritance with more than one parent class
run-time type information
C++ mechanism that exposes information about an object's data type at runtime
metaclass
In object-oriented programming, a metaclass is a class whose syntactic definitions are used for the syntactic definition of the classes themselves. Unlike ordinary classes, which define the behaviors of objects, metaclasses specify the behaviors of classes and their instances. Not all object-oriented programming languages support the concept of metaclasses. For those that do, the extent of control metaclasses have over class behaviors varies. Metaclasses are often implemented by treating classes as first-class citizens, making a metaclass an object that creates and manages these classes. Each
virtual inheritance
in object-oriented programming, inheritance in which the superclass object is accessed through an additional layer of indirection, such that in diamond-shaped multiple inheritance, the common superclass appears only once
friend class
Object relationship in programming language
class invariant
unchanging property for all objects of a class
Helper class