This class takes care about the comparison operators, hash functions and ostream operators. More...
#include <type_index_facade.hpp>
Public Types | |
typedef TypeInfo | type_info_t |
Public Member Functions | |
const char * | name () const BOOST_NOEXCEPT |
Override: This function may be redefined in Derived class. More... | |
std::string | pretty_name () const |
Override: This function may be redefined in Derived class. More... | |
bool | equal (const Derived &rhs) const BOOST_NOEXCEPT |
Override: This function may be redefined in Derived class. More... | |
bool | before (const Derived &rhs) const BOOST_NOEXCEPT |
Override: This function may be redefined in Derived class. More... | |
std::size_t | hash_code () const BOOST_NOEXCEPT |
Override: This function may be redefined in Derived class. More... | |
This class takes care about the comparison operators, hash functions and ostream operators.
Use this class as a public base class for defining new type_info-conforming classes.
Example:
Derived | Class derived from type_index_facade. |
TypeInfo | Class that will be used as a base type_info class. |
typedef TypeInfo boost::typeindex::type_index_facade< Derived, TypeInfo >::type_info_t |
|
inline |
Override: This function may be redefined in Derived class.
Overrides must not throw.
|
inline |
Override: This function may be redefined in Derived class.
Overrides must not throw.
|
inline |
Override: This function may be redefined in Derived class.
Overrides must not throw.
|
inline |
Override: This function may be redefined in Derived class.
Overrides must not throw.
Referenced by boost::typeindex::type_index_facade< ctti_type_index, detail::ctti_data >::hash_code().
|
inline |
Override: This function may be redefined in Derived class.
Overrides may throw.