![]() |
Home | Libraries | People | FAQ | More |
boost::typeindex::ctti_type_index
// In header: <boost/type_index/ctti_type_index.hpp> class ctti_type_index { public: // types typedef ; // construct/copy/destruct () ; () ; () ; // private member functions () ; // public member functions () ; () ; () ; () ; () ; () ; () ; // public static functions template<typename T> () ; template<typename T> () ; template<typename T> () ; };
This class is a wrapper that pretends to work exactly like stl_type_index, but does not require RTTI support. For description of functions see type_index_facade.
This class on C++14 compatible compilers has following functions marked as constexpr:
default constructor
copy constructors and assignemnt operations
class methods: name(), before(const ctti_type_index& rhs), equal(const ctti_type_index& rhs)
static methods type_id<T>(), type_id_with_cvr<T>()
comparison operators
This class produces slightly longer type names, so consider using stl_type_index in situations when typeid() is working.