CLion
 
2025.1
Get CLion
Join the CLion Early Access Program and try out new features before they are released! Find out more

Implement functions

Last modified: 10 April 2025

If a class has a base class with pure virtual functions, it can't be instantiated unless it implements those functions. CLion creates stubs of the implemented functions, with the default return values for the primitive types, and null values for the objects.