[Solved] What does the : Operator mean in C++ inheritance?


The single colon could also signify class inheritance, if the class declaration is followed by : and a class name, it means the class derives from the class behind the single colon.

class InheritedClass : public BaseClass.

solved What does the : Operator mean in C++ inheritance?