December 18, 2002 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 |
Copyright © 1999-2021 by the D Language Foundation