Type support (basic types, RTTI)
From cppreference.com
 
 
 < cpp 
 
 
 C++ 
 Feature test macros (C++20)
 Concepts library (C++20)
 Metaprogramming library (C++11)
 Ranges library (C++20)
 Filesystem library (C++17)
 Concurrency support library (C++11)
 Execution control library (C++26)
Utilities library 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
Relational operators (deprecated in C++20) Integer comparison functions  
 
 
 
 Swap and type operations  Common vocabulary types 
(macro constant) [edit]
  
 
 
 
 C compatibility macro constant, expands to integer literal 1 
(macro constant) [edit]
 
 C compatibility macro constant, expands to integer literal 1 
(macro constant) [edit]
 
 
  
 
 
 wrapper around a 
(class) [edit]
 
 
 
 
 
 
 
 
 
 
  Type support (basic types, RTTI)
 Library feature-test macros (C++20)
(C++11)
(C++20)
(C++26)
(C++20)
 Coroutine support (C++20)
 Contract support (C++26)
(C++20)(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
  (C++20)(C++20)(C++20)
  (C++20)(C++20)(C++20)
 General utilities
(C++20)(C++20)(C++20)
  (C++20)(C++20)(C++20)
(C++20)
Type support
 
 Basic types
 Fixed width integer types (C++11)
 Fixed width floating-point types (C++23)
See also type system overview and fundamental types defined by the language.
Contents
[edit] Additional basic types and macros
Defined in header 
<cstddef>   
 byte offset from the beginning of a standard-layout type to specified member 
(function macro) [edit]
(function macro) [edit]
Defined in header 
<stdbool.h>  __bool_true_false_are_defined
(C++11)(deprecated)
(macro constant) [edit]
Defined in header 
<stdalign.h>  __alignas_is_defined
(C++11)(deprecated)
(macro constant) [edit]
__alignof_is_defined
(C++11)(deprecated)
(macro constant) [edit]
[edit] Fixed width integer types (since C++11)
[edit] Fixed width floating-point types (since C++23)
[edit] Numeric limits
Defined in header 
<limits>  [edit] C numeric limits interface
[edit] Runtime type identification
Defined in header 
<typeinfo>   
 exception that is thrown by an invalid dynamic_cast expression, i.e. a cast of reference type fails 
(class) [edit]
(class) [edit]
Defined in header 
<typeindex>  (C++11)
type_info object, that can be used as index in associative and unordered associative containers (class) [edit]
[edit] Defect reports
The following behavior-changing defect reports were applied retroactively to previously published C++ standards.
| DR | Applied to | Behavior as published | Correct behavior | 
|---|---|---|---|
| LWG 4036 | C++11 | __alignof_is_definedwas underspecified in the C++ standard | specified and deprecated | 
[edit] See also
C documentation  for Type support library