STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
typeinfo.h
Go to the documentation of this file.
1 /***
2 *typeinfo.h - Defines the type_info structure and exceptions used for RTTI
3 *
4 * Copyright (c) Microsoft Corporation. All rights reserved.
5 *
6 *Purpose:
7 * Defines the type_info structure and exceptions used for
8 * Runtime Type Identification.
9 *
10 * [Public]
11 *
12 ****/
13 
14 #pragma once
15 
16 #include <typeinfo>
17 
18 #if defined(__RTTI_OLDNAMES) && (!defined(_CRTBLD) || !defined(_TICORE))
19 
20  // Synonyms for legacy code
21  using std::bad_cast;
22  using std::bad_typeid;
23 
24  typedef type_info Type_info;
25  typedef bad_cast Bad_cast;
26  typedef bad_typeid Bad_typeid;
27 
28 #endif /* __RTTI_OLDNAMES */
Definition: typeinfo:36
Definition: typeinfo:57
Definition: vcruntime_typeinfo.h:62