Boost logo

Boost :

From: Jurko Gospodnetic (jurko_at_[hidden])
Date: 2004-09-02 06:24:44


  Hi John.

> No, we don't have a macro for that; BTW I think the Visual C++ is about
the
> only compiler that doesn't enable it by default :-(

  Would it be possible to add this to boost? Something like
BOOST_HAS_RTTI? It seems like the best place to put such
a macro.

  The question is just whether enough people would find this
useful. 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.

  Regards,
    Jurko


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