75 const std::type_info&
get()
const
81 {
return m_ti->before(*rhs.m_ti) != 0; }
84 const std::type_info* m_ti;
92{
return (lhs.
get() == rhs.
get()) != 0; }
99{
return !(lhs == rhs); }
106{
return lhs.
before(rhs); }
120{
return !(lhs > rhs); }
127{
return !(lhs < rhs); }
TypeInfo(const std::type_info &ti)
Construct from type info.
Definition TypeInfo.h:69
bool operator!=(const TypeInfo &lhs, const TypeInfo &rhs)
Inequal comparison.
Definition TypeInfo.h:98
const std::type_info & get() const
Returns the type info.
Definition TypeInfo.h:75
TypeInfo()
Construct a void type info.
Definition TypeInfo.h:61
bool operator>(const TypeInfo &lhs, const TypeInfo &rhs)
Greater-than comparison.
Definition TypeInfo.h:112
bool operator==(const TypeInfo &lhs, const TypeInfo &rhs)
Equal comparison.
Definition TypeInfo.h:91
bool before(const TypeInfo &rhs) const
Determines order of TypeInfo instances.
Definition TypeInfo.h:80
bool operator<=(const TypeInfo &lhs, const TypeInfo &rhs)
Less-than or equal comparison.
Definition TypeInfo.h:119
bool operator<(const TypeInfo &lhs, const TypeInfo &rhs)
Less-than comparison.
Definition TypeInfo.h:105
bool operator>=(const TypeInfo &lhs, const TypeInfo &rhs)
Greater-than or equal comparison.
Definition TypeInfo.h:126
Core module.
Definition Allocator.h:33
Marker type for an unused template argument.
Definition Void.h:52