[fdo-dev] Pre-conditions and unsafe constuctions

Mateusz Loskot mateusz at loskot.net
Thu Dec 7 11:37:33 EST 2006


Traian Stanev wrote:
> Hi Mateusz.
> 
> I think you're overthinking it. Use whatever cast will do the job
> correctly.

Hi Traian,

I'm just trying to understand the rationale behind SmartCast and
DownCast, and why errors are not reported with exception.

I will try to ask another way:

What should the FDO do if dynamic_cast fails?

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net




More information about the Fdo_dev mailing list