[DDK]
[reactos.git] / include / crt / typeinfo.h
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
6 #include <crtdefs.h>
7
8 #ifndef _INC_TYPEINFO
9 #define _INC_TYPEINFO
10
11 #pragma pack(push,_CRT_PACKING)
12
13 #ifndef RC_INVOKED
14
15 #ifndef __cplusplus
16 #error This header requires a C++ compiler ...
17 #endif
18
19 #include <typeinfo>
20
21 #ifdef __RTTI_OLDNAMES
22 using std::bad_cast;
23 using std::bad_typeid;
24
25 typedef type_info Type_info;
26 typedef bad_cast Bad_cast;
27 typedef bad_typeid Bad_typeid;
28 #endif
29 #endif
30
31 #pragma pack(pop)
32 #endif