API Reference Document
std::type_info::
~type_info
<
cpp
|
types
|
type info
C++
语言
标准库头文件
自立与有宿主实现
具名要求
语言支持库
概念库
(C++20)
诊断库
工具库
字符串库
容器库
迭代器库
范围库
(C++20)
算法库
数值库
本地化库
输入/输出库
文件系统库
(C++17)
正则表达式库
(C++11)
原子操作库
(C++11)
线程支持库
(C++11)
技术规范
工具库
语言支持
类型支持
(基本类型、 RTTI 、类型特征)
库功能特性测试宏
(C++20)
动态内存管理
程序工具
错误处理
协程支持
(C++20)
变参数函数
launder
(C++17)
initializer_list
(C++11)
source_location
(C++20)
三路比较
(C++20)
three_way_comparable
three_way_comparable_with
(C++20)
(C++20)
strong_ordering
(C++20)
weak_ordering
(C++20)
partial_ordering
(C++20)
common_comparison_category
(C++20)
compare_three_way_result
(C++20)
compare_three_way
(C++20)
strong_order
(C++20)
weak_order
(C++20)
partial_order
(C++20)
compare_strong_order_fallback
(C++20)
compare_weak_order_fallback
(C++20)
compare_partial_order_fallback
(C++20)
is_eq
is_neq
is_lt
is_lteq
is_gt
is_gteq
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
通用工具
日期和时间
函数对象
格式化库
(C++20)
bitset
hash
(C++11)
integer_sequence
(C++14)
关系运算符
(C++20 中弃用)
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
整数比较函数
cmp_equal
cmp_not_equal
cmp_less
cmp_greater
cmp_less_than
cmp_greater_than
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
in_range
(C++20)
swap 与类型运算
swap
ranges::swap
(C++20)
exchange
(C++14)
declval
(C++11)
forward
(C++11)
move
(C++11)
move_if_noexcept
(C++11)
as_const
(C++17)
常用词汇类型
pair
tuple
(C++11)
apply
(C++17)
make_from_tuple
(C++17)
optional
(C++17)
any
(C++17)
variant
(C++17)
初等字符串转换
to_chars
(C++17)
from_chars
(C++17)
chars_format
(C++17)
类型支持
基本类型
基础类型
定宽整数类型
(C++11)
ptrdiff_t
size_t
max_align_t
(C++11)
byte
(C++17)
nullptr_t
(C++11)
offsetof
NULL
数值极限
numeric_limits
C 数值极限接口
运行时类型信息
type_info
type_index
(C++11)
bad_typeid
bad_cast
类型特性
类型类别
is_void
(C++11)
is_null_pointer
(C++14)
is_array
(C++11)
is_pointer
(C++11)
is_enum
(C++11)
is_union
(C++11)
is_class
(C++11)
is_function
(C++11)
is_object
(C++11)
is_scalar
(C++11)
is_compound
(C++11)
is_integral
(C++11)
is_floating_point
(C++11)
is_fundamental
(C++11)
is_arithmetic
(C++11)
is_reference
(C++11)
is_lvalue_reference
(C++11)
is_rvalue_reference
(C++11)
is_member_pointer
(C++11)
is_member_object_pointer
(C++11)
is_member_function_pointer
(C++11)
类型属性
is_const
(C++11)
is_volatile
(C++11)
is_empty
(C++11)
is_polymorphic
(C++11)
is_final
(C++14)
is_abstract
(C++11)
is_aggregate
(C++17)
is_trivial
(C++11)
is_trivially_copyable
(C++11)
is_standard_layout
(C++11)
is_literal_type
(C++11)
(C++20 前)
is_pod
(C++11)
(C++20 中弃用)
is_signed
(C++11)
is_unsigned
(C++11)
is_bounded_array
(C++20)
is_unbounded_array
(C++20)
has_unique_object_representations
(C++17)
类型特性常量
integral_constant
bool_constant
true_type
false_type
(C++11)
(C++17)
(C++11)
(C++11)
元函数
conjunction
(C++17)
disjunction
(C++17)
negation
(C++17)
常量求值语境
is_constant_evaluated
(C++20)
受支持操作
is_constructible
is_trivially_constructible
is_nothrow_constructible
(C++11)
(C++11)
(C++11)
is_default_constructible
is_trivially_default_constructible
is_nothrow_default_constructible
(C++11)
(C++11)
(C++11)
is_copy_constructible
is_trivially_copy_constructible
is_nothrow_copy_constructible
(C++11)
(C++11)
(C++11)
is_move_constructible
is_trivially_move_constructible
is_nothrow_move_constructible
(C++11)
(C++11)
(C++11)
is_assignable
is_trivially_assignable
is_nothrow_assignable
(C++11)
(C++11)
(C++11)
is_copy_assignable
is_trivially_copy_assignable
is_nothrow_copy_assignable
(C++11)
(C++11)
(C++11)
is_move_assignable
is_trivially_move_assignable
is_nothrow_move_assignable
(C++11)
(C++11)
(C++11)
is_destructible
is_trivially_destructible
is_nothrow_destructible
(C++11)
(C++11)
(C++11)
has_virtual_destructor
(C++11)
is_swappable_with
is_swappable
is_nothrow_swappable_with
is_nothrow_swappable
(C++17)
(C++17)
(C++17)
(C++17)
关系与属性查询
is_same
(C++11)
is_base_of
(C++11)
is_convertible
is_nothrow_convertible
(C++11)
(C++20)
is_layout_compatible
(C++20)
is_pointer_interconvertible_base_of
(C++20)
is_pointer_interconvertible_with_class
(C++20)
is_corresponding_member
(C++20)
alignment_of
(C++11)
rank
(C++11)
extent
(C++11)
is_invocable
is_invocable_r
is_nothrow_invocable
is_nothrow_invocable_r
(C++17)
(C++17)
(C++17)
(C++17)
类型修改
remove_cv
remove_const
remove_volatile
(C++11)
(C++11)
(C++11)
add_cv
add_const
add_volatile
(C++11)
(C++11)
(C++11)
make_signed
(C++11)
make_unsigned
(C++11)
remove_reference
(C++11)
add_lvalue_reference
add_rvalue_reference
(C++11)
(C++11)
remove_pointer
(C++11)
add_pointer
(C++11)
remove_extent
(C++11)
remove_all_extents
(C++11)
类型变换
aligned_storage
(C++11)
aligned_union
(C++11)
decay
(C++11)
remove_cvref
(C++20)
enable_if
(C++11)
void_t
(C++17)
conditional
(C++11)
common_type
(C++11)
common_reference
(C++20)
underlying_type
(C++11)
result_of
invoke_result
(C++11)
(C++20 前)
(C++17)
type_identity
(C++20)
std::type_info
成员函数
type_info::~type_info
type_info::operator==
type_info::operator!=
(C++20 前)
type_info::before
type_info::hash_code
(C++11)
type_info::name
virtual
~type_info
(
)
;
析构
std::type_info
类型的对象。此析构函数为公开虚函数,允许通过指向基类的指针安全地删除从
std::type_info
导出的类的对象。