cppreference.com
创建账户
登录
名字空间
页面
讨论
变换
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
台灣正體
查看
查看
编辑
历史
操作
std::
ratio_subtract
来自cppreference.com
<
cpp
|
numeric
|
ratio
2012年10月27日 (六) 09:28
P12
(
讨论
|
贡献
)
的版本
(
差异
)
←上一版本
|
最后版本
(
差异
) |
下一版本→
(
差异
)
该页由英文版维基使用
谷歌翻译
机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击
此处
。
点击此处参见该页的英文版本
C++
编译器支持
自立实现与有宿主实现
语言
标准库
标准库标头
具名要求
功能特性测试宏
(C++20)
语言支持库
概念库
(C++20)
诊断库
内存管理库
元编程库
(C++11)
通用工具库
容器库
迭代器库
范围库
(C++20)
算法库
字符串库
文本处理库
数值库
日期和时间库
输入/输出库
文件系统库
(C++17)
并发支持库
(C++11)
执行控制库
(C++26)
技术规范
符号索引
外部库
[编辑]
元编程库
类型特征
类型类别
is_void
(C++11)
is_null_pointer
(C++11)
(
DR*
)
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_reference
(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_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_implicit_lifetime
(C++23)
is_trivial
(C++11)
(C++26 弃用)
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)
is_scoped_enum
(C++23)
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_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_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)
reference_constructs_from_temporary
(C++23)
reference_converts_from_temporary
(C++23)
is_base_of
(C++11)
is_virtual_base_of
(C++26)
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)
(C++23 弃用)
aligned_union
(C++11)
(C++23 弃用)
decay
(C++11)
remove_cvref
(C++20)
result_of
invoke_result
(C++11)
(
C++20 前*
)
(C++17)
conditional
(C++11)
common_type
(C++11)
common_reference
(C++20)
underlying_type
(C++11)
type_identity
(C++20)
enable_if
(C++11)
void_t
(C++17)
编译时有理数算术
编译时整数序列
integer_sequence
(C++14)
[编辑]
编译时有理数算术
ratio
(C++11)
算术
ratio_add
(C++11)
ratio_subtract
(C++11)
ratio_multiply
(C++11)
ratio_divide
(C++11)
比较
ratio_equal
(C++11)