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

[ad_1]

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.

[ad_2]

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