Hello!
>class A
>{
> ...
>}
>
>class B : A
>{
> ...
>}
>
>class C : A
>{
> ...
>}
>
>A example1;
>B example2 = new B(...);
>A = example2;
>auto heir = A.whoheir(); ///
The question in this code is: is it possible to track the class
inheritor? Or is it beyond D?
Sorry if the question is fool ...