![]() |
Home | Libraries | People | FAQ | More |
boost::typeindex::type_id_runtime
// In header: <boost/type_index.hpp> template<typename T> ( runtime_val);
Function that works exactly like C++ typeid(rtti_val) call, but returns boost::type_index.
Returns runtime information about specified type.
Requirements: RTTI available or Base and Derived classes must be marked with BOOST_TYPE_INDEX_REGISTER_CLASS.
Example:
Parameters: |
|
||
Returns: |
boost::typeindex::type_index with information about the specified variable. |
||
Throws: |
Nothing. |