缩写 | 全名 | 参阅 |
---|---|---|
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用户定义字面量 |
当前内容版权归 cppreference 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 cppreference .