...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
type_index is just a typedef
Depending on the
availability TypeIndex library will choose an optimal class for
type_index. In cases when at least basic
will be used.
macro is a helper macro that places some virtual helper functions or expands
macro is a helper macro that places the same helpers as BOOST_TYPE_INDEX_REGISTER_CLASS
plus some additional helpers for boost::typeindex::runtime_cast to function.
Issues with cross module type comparison on a bugged compilers are bypassed by directly comparing strings with type (latest versions of those compilers resolved that issue using exactly the same approach).