I have pointer, assume it should be array of class A. this pointer is defined in Ancesor class, as [2]. it's set in constructor. the inheritor want to add 2 additional cells to this array, i.e the array shall be [4].
the constructor isn't offer the option to use overrided virtual methods. so, how can I extends the array in inheritor to be 4 instead of 2, without creating the 2 in the ancesor, delete it in inheritor, and create new 4?
BTW, it's not possible to use container such vector etc. it must be array.