Question OOP-CTOR-0014
MediumWhy can't a constructor be virtual in C++?
- A.
The object's type (and vtable) isn't set up until the constructor runs, so there is nothing to dispatch on
- B.
Constructors are always private
- C.
Sign up free to see the answer and a step-by-step explanation.