3 * - By John Hodge (thePowersGang)
6 * - typeid and dynamic_cast
12 type_info::~type_info()
17 bool type_info::operator==(const type_info& other) const
19 return this->__type_name == other.__type_name;
22 bool type_info::operator!=(const type_info& other) const
24 return this->__type_name != other.__type_name;
27 bool type_info::before(const type_info& other) const
29 return this->__type_name < other.__type_name;
32 const char *type_info::name() const
34 return this->__type_name;
38 type_info::type_info(const type_info& rhs):
39 __type_name(rhs.__type_name)
42 type_info& type_info::operator=(const type_info& rhs)
44 __type_name = rhs.__type_name;