[RFA 2/4] Change the as_*_interp functions to use dynamic_cast

Pedro Alves palves@redhat.com
Fri May 25 18:12:00 GMT 2018


On 04/30/2018 06:12 AM, Tom Tromey wrote:
> This changes the various as_*_interp functions to be implemented using
> dynamic_cast.  I believe this is a small improvement, because it is
> more typesafe -- the C++ runtime does the type-checking for us.

OK.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list