字母缩写
缩写 | 全名 | 参阅 |
---|---|---|
AAA | Almost Always Auto 几乎始终 auto
|
GOTW #94 |
ADL | Argument-Dependent Lookup 实参依赖查找 |
|
CTAD | Class Template Argument Deduction 类模板实参推导 |
|
CRTP | Curiously Recurring Template Pattern 奇特重现模板模式 |
std::enable_shared_from_this |
EBO | Empty Base Optimization 空基类优化 |
std::allocator, std::default_delete |
ICE | Internal Compiler Error 内部编译器错误 |
|
NRVO | Named Return Value Optimization 具名返回值优化 |
|
NSDMI | Non-Static Data Member Initialization 非静态数据成员初始化 |
|
NTTP | Non-Type Template Parameter 非类型模板形参 |
|
ODR | One Definition Rule 单一定义规则 |
|
PIMPL | Pointer to IMPLementation 实现指针(手法) |
|
RAII | Resource Acquisition Is Initialization 资源获取即初始化 |
|
RTTI | RunTime Type Identification 运行时类型鉴别 |
std::type_info |
RVO | Return Value Optimization 返回值优化 |
|
SBO | Small Buffer Optimization 小缓冲区优化 |
|
SCARY | Seemingly erroneous (appearing Constrained by conflicting generic parameters), but Actually work with the Right implementation (unconstrained bY the conflict due to minimized dependencies). 看起来错误(表面上由冲突的泛型参数制约),但实际上在正确的实现中有效(由于最小化依赖而无需约束)。 |
stroustrup.com/SCARY.pdf |
SFINAE | Substitution Failure Is Not An Error 替换失败不是错误 |
std::enable_if, std::void_t |
SOO | Small Object Optimization 小对象优化 |
std::function, std::any |
SSO | Small String Optimization 小字符串优化 |
std::basic_string |
TMP | Template Meta Programming 模板元编程 |
<type_traits> |
UB | Undefined Behavior 未定义行为 |
|
UDL | User-Defined Literals 用户定义字面量 |