c++ - Request: import RTTI into std namespace
- Richard (9/9) Dec 18 2002 As per 5.2.8-1 we could import RTTI objects into the std namespace by ad...
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








Richard <fractal clark.net>