100156994 opened this issue 5 years ago · 0 comments
cannot dynamic_cast 'pa' (of type 'class A*') to type 'class B*' (source type is not polymorphic) when i compiling with c++ 14. A *pa = new C; B pb = dynamic_cast<B>(pa)