This class is a wrapper that pretends to work exactly like stl_type_index, but does not require RTTI support. More...
#include <ctti_type_index.hpp>
Public Types | |
typedef detail::ctti_data | type_info_t |
Public Member Functions | |
ctti_type_index () BOOST_NOEXCEPT | |
ctti_type_index (const type_info_t &data) BOOST_NOEXCEPT | |
const type_info_t & | type_info () const BOOST_NOEXCEPT |
const char * | raw_name () const BOOST_NOEXCEPT |
std::string | pretty_name () const |
std::size_t | hash_code () const BOOST_NOEXCEPT |
const char * | name () const BOOST_NOEXCEPT |
Override: This function may be redefined in Derived class. More... | |
bool | equal (const ctti_type_index &rhs) const BOOST_NOEXCEPT |
Override: This function may be redefined in Derived class. More... | |
bool | before (const ctti_type_index &rhs) const BOOST_NOEXCEPT |
Override: This function may be redefined in Derived class. More... | |
Static Public Member Functions | |
template<class T > | |
static ctti_type_index | type_id () BOOST_NOEXCEPT |
template<class T > | |
static ctti_type_index | type_id_with_cvr () BOOST_NOEXCEPT |
template<class T > | |
static ctti_type_index | type_id_runtime (const T &variable) BOOST_NOEXCEPT |
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 produces slightly longer type names, so consider using stl_type_index in situations when typeid() is working.
|
inline |
|
inline |
|
inlineinherited |
Override: This function may be redefined in Derived class.
Overrides must not throw.
References boost::bimaps::support::left, and boost::icl::right().
|
inlineinherited |
Override: This function may be redefined in Derived class.
Overrides must not throw.
References boost::bimaps::support::left, and boost::icl::right().
|
inline |
References boost::hash_range(), and raw_name().
|
inlineinherited |
Override: This function may be redefined in Derived class.
Overrides must not throw.
|
inline |
References boost::python::len(), and raw_name().
|
inline |
Referenced by hash_code(), and pretty_name().
|
inlinestatic |
References BOOST_DEDUCED_TYPENAME, and boost::detail::type.
|
inlinestatic |
|
inlinestatic |
|
inline |