www.digitalmars.com         C & C++   DMDScript  

c++ - Request: import RTTI into std namespace

As per 5.2.8-1 we could import RTTI objects into the std namespace by adding the
following to typeinfo.h:

namespace std {

using ::type_info;
using ::bad_cast;

} // namespace std

Suggestion based on use of RTTI in boost any container (the any container stores
arbitrary types in a typesafe container).

Richard
Dec 18 2002