[Bug c++/102258] dynamic_cast to derived type fails during constant evaluation

johelegp at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Sep 9 19:40:23 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102258

--- Comment #2 from Johel Ernesto Guerrero Peña <johelegp at gmail dot com> ---
That still doesn't work because you can't compare (the addresses of) different
`std::type_info` objects.


More information about the Gcc-bugs mailing list