Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2004-09-02 12:51:26


"Jurko Gospodnetic" wrote:

> Currently I am doing a dynamic_cast if RTTI is available
> in a debug build in order to assert that the cast is valid. Otherwise
> a static_cast is used.
>
Use something like checked_cast:
http://gimite.ddo.jp/gimite/cppmess/checked_cast.txt&e=7507

/Pavel


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