Rationale for non-virtual derived class not being pointer-interconvertible with its first base
Rationale for non-virtual derived class not being pointer-interconvertible with its first base
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!
(stackoverflow.com/users/16264289/jonathan-s)Jonathan S. |
(stackoverflow.com/users/734069/nicol-bolas)Nicol Bolas |
(stackoverflow.com/users/363751/supercat)supercat |
A special thanks goes out to the (https://stackoverflow.com/questions/75352917/rationale-for-non-virtual-derived-class-not-being-pointer-interconvertible-with)Stackexchange community |
I wish you all a wonderful day! Stay safe :)
reinterpret-cast strict-aliasing language-lawyer inheritance c++