41__rw_ticmp (
const _STD::type_info &
lhs,
const _STD::type_info &
rhs)
43 const char*
const n1 =
lhs.name ();
44 const char*
const n2 =
rhs.name ();
46 return strcmp (
n1 ?
n1 :
"",
n2 ?
n2 :
"");
54#if defined _RWSTD_TYPEINFO_INCLUDED
60# if !defined (_RWSTD_NO_STD_TYPE_INFO) \
61 || !defined (_RWSTD_NO_GLOBAL_TYPE_INFO)
66# ifndef _RWSTD_NO_STD_TYPE_INFO
78# ifdef _RWSTD_NO_TYPE_INFO_DTOR
80type_info::~type_info () { }
85# ifdef _RWSTD_NO_TYPE_INFO_BEFORE
89 return 0 > _RW::__rw_ticmp (*
this,
rhs);
95# ifdef _RWSTD_NO_TYPE_INFO_NAME
98static const char _C_name[] =
"";
100const char* type_info::name ()
const
103#ifdef _RWSTD_NO_STD_TYPE_INFO
115# ifdef _RWSTD_NO_TYPE_INFO_EQUALITY
119 return !before (
rhs) && !
rhs.before (*
this);
125# ifdef _RWSTD_NO_TYPE_INFO_INEQUALITY
129 return !(*
this ==
rhs);
134# ifndef _RWSTD_NO_STD_TYPE_INFO
146# ifndef _RWSTD_NO_RUNTIME_IN_STD
152# if defined (__HP_aCC)
154const char* type_info::name ()
const
173 return !(*
this ==
rhs);
178# elif defined (__INTEL_COMPILER) && !defined (_MSC_VER)
180const char* type_info::name ()
const
197 return !(*
this ==
rhs);
200# elif defined (__GNUG__) && !defined (_RWSTD_NO_HONOR_STD)
206const char* type_info::name ()
const
213 return !this->before (
rhs) && !
rhs.before (*
this);
218 return !(*
this ==
rhs);
221# elif defined (__IBMCPP__)
223const char* type_info::name ()
const
230 return !this->before (
rhs) && !
rhs.before (*
this);
235 return !(*
this ==
rhs);
241# if defined (__GNUG__) && !defined (_RWSTD_NO_HONOR_STD)
248 return 0 > _RW::__rw_ticmp (*
this,
rhs);
251# elif defined (__IBMCPP__)
255 return 0 > _RW::__rw_ticmp (*
this,
rhs);
263const char* type_info::name ()
const
272 return 0 > _RW::__rw_ticmp (*
this,
rhs);
278 return 0 == _RW::__rw_ticmp (*
this,
rhs);
284 return !(*
this ==
rhs);
289# ifndef _RWSTD_NO_RUNTIME_IN_STD
301# ifndef _RWSTD_NO_STD_BAD_CAST
307# ifdef _RWSTD_NO_BAD_CAST_DEFAULT_CTOR
309bad_cast::bad_cast ()
_THROWS (())
316# ifdef _RWSTD_NO_BAD_CAST_COPY_CTOR
326# ifdef _RWSTD_NO_BAD_CAST_DTOR
328bad_cast::~bad_cast ()
_THROWS (())
335# ifdef _RWSTD_NO_BAD_CAST_ASSIGNMENT
340 exception::operator= (
rhs);
347# ifdef _RWSTD_NO_BAD_CAST_WHAT
349const char* bad_cast::what () const
_THROWS (())
356# ifndef _RWSTD_NO_STD_BAD_CAST
366# ifndef _RWSTD_NO_STD_BAD_TYPEID
372bad_typeid::bad_typeid ()
_THROWS (())
383bad_typeid::~bad_typeid ()
_THROWS (())
388# ifdef _RWSTD_NO_BAD_TYPEID_ASSIGNMENT
393 exception::operator= (
rhs);
400const char* bad_typeid::what () const
_THROWS (())
405# ifndef _RWSTD_NO_STD_BAD_TYPEID
#define _RWSTD_UNUSED(arg)
#define _RWSTD_NAMESPACE(name)