[cxx-abi-dev] trivial __dynamic_cast fails?
Mark Mitchell
mark at codesourcery.com
Fri Feb 27 17:36:55 UTC 2004
David Baraff wrote:
> I'm playing around with the __cxxabiv1::__dynamic_cast() function. It
> works as I would expect, with one exception.
The ABI document does not require that __dynamic_cast perform a
derived-to-base cast. Those __dynamic_cast operations that can actually
be performed statically by the compiler must be performed statically by
the compiler -- the runtime library does not expect to be called in that
situation.
--
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery.com
More information about the cxx-abi-dev
mailing list