|
halcheck 1.0
|
A runtime type identifier that does not require RTTI. More...
#include <typeinfo.hpp>
Public Member Functions | |
| constexpr | type_id () |
Constructs the type identifier for void. | |
| std::size_t | hash () const |
| Gets a hash code associated with this type identifier. | |
Static Public Member Functions | |
| template<typename T > | |
| static type_id | of () |
| Gets the unique type identifier associated with the given type. | |
| template<typename T > | |
| static type_id | of () |
| Gets the unique type identifier associated with the given type. | |
Friends | |
| bool | operator== (const type_id &lhs, const type_id &rhs) |
| bool | operator!= (const type_id &lhs, const type_id &rhs) |
| bool | operator< (const type_id &lhs, const type_id &rhs) |
| bool | operator> (const type_id &lhs, const type_id &rhs) |
| bool | operator<= (const type_id &lhs, const type_id &rhs) |
| bool | operator>= (const type_id &lhs, const type_id &rhs) |
A runtime type identifier that does not require RTTI.