This class is a wrapper around std::type_info, that workarounds issues and provides much more rich interface. More...
#include <stl_type_index.hpp>
Public Types | |
typedef std::type_info | type_info_t |
Public Member Functions | |
stl_type_index () BOOST_NOEXCEPT | |
stl_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 |
const char * | name () const BOOST_NOEXCEPT |
std::string | pretty_name () const |
std::size_t | hash_code () const BOOST_NOEXCEPT |
bool | equal (const stl_type_index &rhs) const BOOST_NOEXCEPT |
bool | before (const stl_type_index &rhs) const BOOST_NOEXCEPT |
Static Public Member Functions | |
template<class T > | |
static stl_type_index | type_id () BOOST_NOEXCEPT |
template<class T > | |
static stl_type_index | type_id_with_cvr () BOOST_NOEXCEPT |
template<class T > | |
static stl_type_index | type_id_runtime (const T &value) BOOST_NOEXCEPT |
This class is a wrapper around std::type_info, that workarounds issues and provides much more rich interface.
For description of functions see type_index_facade.
This class requires typeid() to work. For cases when RTTI is disabled see ctti_type_index.
typedef std::type_info boost::typeindex::stl_type_index::type_info_t |
|
inline |
|
inline |
|
inline |
References raw_name().
|
inline |
References raw_name().
|
inline |
References boost::hash_range(), and raw_name().
|
inline |
|
inline |
|
inline |
Referenced by before(), equal(), and hash_code().
|
inlinestatic |
References BOOST_DEDUCED_TYPENAME, and boost::detail::type.
|
inlinestatic |
References boost::program_options::value().
Referenced by boost::typeindex::type_id_runtime().
|
inlinestatic |
References BOOST_DEDUCED_TYPENAME, T, and boost::detail::type.
|
inline |