![]() |
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 () ; () ; (type_info_t &) ; // private member functions () ; // public member functions type_info_t & () ; () ; () ; () ; () ; (ctti_type_index &) ; (ctti_type_index &) ; // public static functions template<typename T> ctti_type_index () ; template<typename T> ctti_type_index () ; template<typename T> ctti_type_index () ; };
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.
ctti_type_index
public member functionstype_info_t & () ;
() ;
() ;
() ;
() ;
(ctti_type_index & rhs) ;
(ctti_type_index & rhs) ;
ctti_type_index
public static functionstemplate<typename T> ctti_type_index () ;
template<typename T> ctti_type_index () ;
template<typename T> ctti_type_index ( variable) ;