cppreference.com
创建账户
登录
名字空间
页面
讨论
变换
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
台灣正體
查看
查看
编辑
历史
操作
C++ 具名要求:
可交换值
(ValueSwappable)
(C++11 起)
来自cppreference.com
<
cpp
|
named req
C++
编译器支持
自立实现与有宿主实现
语言
标准库
标准库标头
具名要求
功能特性测试宏
(C++20)
语言支持库
概念库
(C++20)
诊断库
内存管理库
元编程库
(C++11)
通用工具库
容器库
迭代器库
范围库
(C++20)
算法库
字符串库
文本处理库
数值库
日期和时间库
输入/输出库
文件系统库
(C++17)
并发支持库
(C++11)
执行控制库
(C++26)
技术规范
符号索引
外部库
[编辑]
C++ 具名要求
基础
DefaultConstructible
MoveConstructible
(C++11)
CopyConstructible
CopyAssignable
MoveAssignable
(C++11)
Destructible
类型属性
ScalarType
PODType
TriviallyCopyable
(C++11)
TrivialType
(C++11)
StandardLayoutType
(C++11)
ImplicitLifetimeType
全库范围
BooleanTestable
EqualityComparable
LessThanComparable
Swappable
ValueSwappable
(C++11)
NullablePointer
(C++11)
Hash
(C++11)
Allocator
FunctionObject
Callable
Predicate
BinaryPredicate
Compare
容器
Container
ReversibleContainer
AllocatorAwareContainer
SequenceContainer
ContiguousContainer
(C++17)
AssociativeContainer
UnorderedAssociativeContainer
(C++11)
容器元素
DefaultInsertable
(C++11)
CopyInsertable
(C++11)
MoveInsertable
(C++11)
EmplaceConstructible
(C++11)
Erasable
(C++11)
迭代器
LegacyIterator
LegacyInputIterator
LegacyOutputIterator
LegacyForwardIterator
LegacyBidirectionalIterator
LegacyRandomAccessIterator
LegacyContiguousIterator
(C++17)
ConstexprIterator
(C++20)
流 I/O
FormattedInputFunction
UnformattedInputFunction
FormattedOutputFunction
UnformattedOutputFunction
格式化器
BasicFormatter
(C++20)
Formatter
(C++20)
随机数
SeedSequence
(C++11)
RandomNumberEngine
(C++11)
RandomNumberDistribution
(C++11)
UniformRandomBitGenerator
(C++11)
RandomNumberEngineAdaptor
(C++11)
并发
BasicLockable
(C++11)
Lockable
(C++11)
TimedLockable
(C++11)
SharedLockable
(C++14)
SharedTimedLockable
(C++14)
Mutex
(C++11)
TimedMutex
(C++11)
SharedMutex
(C++17)
SharedTimedMutex
(C++14)
范围
RangeAdaptorObject
(C++20)
RangeAdaptorClosureObject
(C++20)
多维视图
LayoutMapping
(C++23)
LayoutMappingPolicy
(C++23)
AccessorPolicy
(C++23)
其他
CharTraits