Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-12-16 12:40:01

Beman Dawes:

> Where RTTI is useful, but not essential, I'd personally rather not
> remove it entirely. Instead, the code could respond to a macro
> (BOOST_NO_RTTI perhaps) and avoid usage when present.

In non-essential scenarios, often the proper macro to test is

since typeid(T) does not require the R in RTTI and may be supported even
when RTTI is off (under MSVC for example).

Boost list run by bdawes at, gregod at, cpdaniel at, john at