|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2000-10-30 13:42:56
> It turns out there is a longstanding bug where Microsoft Visual C++
> can optimize away the catch blocks for a throw from dynamic_cast:
>
> http://support.microsoft.com/support/kb/articles/Q247/2/03.ASP
>
> The above states version 6, but I have reproduced this in 5 as well.
Hmm. The example in the article dynamic_casts an uninitialized pointer,
which is undefined behavior, right?
-- Peter Dimov Multi Media Ltd.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk