Boost logo

Boost :

From: Darin Adler (darin_at_[hidden])
Date: 2002-04-24 18:28:58


On Wednesday, April 24, 2002, at 03:06 PM, Fernando Cacciola wrote:

> I know as a fact that at least some version of the Borland compiler
> (don't
> remember which one), didn't get the fixup right without RTTI if 'base'
> was
> not a root type and the inheritance wasn't strictly simple.
> Maybe this was just a compiler bug, but I've always been under the
> impression that static casts were *guaranteed* to yield the correct
> value
> only when downcasting to a root type or without multiple and virtual
> inheritance.

But there's no static cast involved here, is there? This is just a
conversion without a cast.

     -- Darin


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk