Original Post
Does the default class_name() constructor calls all the () constructors of its sub class?
Derived::Derived() {}; // default Base constructor called
Derived::Derived(int, int) {}; // default Base constructor called
Derived::Derived() : Base(1000) {}; // Base(int) constructor called This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more