C++术语汉英对照表

简介:

对象类型:object type

cv限定:cv-qualified

成员指针类型:pointer to member type

标量类型:scalar type

布局相容:layout-compatible

对象表示:object representation

值表示:value representation

整型:integral type

算术类型:arithmetic type

语句:statement

标准转换序列:standard conversion sequence

重载:overload

覆盖:override

限定转换:qualification conversions

cv限定签名:cv-qualification signature

位域:bit-field

整型提升:integral promotions

符点提升:floating point promotion

空成员指针值:null member pointer value

空指针常量:null pointer constant

转换:conversion

间接引用:dereference

位域:bit-filed

说明符:specifier

未具名,未命名unnamed

初始化体initializer

存储类说明符:storage class specifiers

模板特化template specialization

模板实例化template instantiation

区块block

存储周期storage duration

内联说明符inline specifier

翻译单元translation unit

类型定义说明符:typedef specifier

类型名type-name

类型定义声明typedef declaration

型定义名typedef-name

函数声明function declaration

对象声明object declaration

声明说名符decl-specifier

类名class-name

 

详细类型说明符:elaborated type specifiers

显式特化:explicit specialization

显式实例化:explicit instantiation

类型参数:type parameter

类关键字:class-key

声明说明符:decl-specifiers

转换函数:conversion function

模板类型参量:template type argument

cv限定符:cv-qualifiers

生命期:lifetime

转型(强制类型转换,强制转型)cast

类对象:class objects

访问控制:access control

歧义消解:ambiguity resolution

重载解析:overload resolution

显式构造函数:explicit constructor

 

基本表达式:Primary expressions

文字:literal

后缀表达式:postfix expressions

普通函数:ordinary function

缺省参量提升:default argument promotions

参量:argument

参数:parameter

伪析构函数调用:Pseudo destructor call

对象表达式:object expression

空类型:void type

覆写、覆盖:override

函数式记法:functional notation

转型记法:cast notation

传值参数:passed-by-value parameter

调用点:point of call

常量限定的:const-qualified

常值引用:const reference

 

源文件:source file
翻译单元:translation unit
已翻译的翻译单元:translated translation unit
实例单元:instantiation unit
基本源字符集:basic source character set
三字符序列:trigraph sequence
通用字符名:universal character name
预处理标记:preprocessing token
空白字符:white-space character
基本执行字符集:basic execution character set
基本执行宽字符集:basic execution wide character set
空字符:null character
空宽字符:null wide character
转义序列:escape sequence
头名字(头文件名):header name
预处理指令:preprocessing directive
宏调用:macro invocation
标记连接:token concatenation
空格:space, blank
换页:form feed
回车:carriage return
换行:newline
替换标记:alternative token
基本标记/源标记:primary token
宏名:macro name
替换序列:replacement list
二次替换:further replacement
明示常量:manifest constant
重检测(二次检测):reexamination
出错指示:error directive
空指令:null directive
宏替换:macro replacement
替换序列:replacement list
参量置换:argument substitution
二次替换:further replacement
目录
相关文章
|
存储 算法 NoSQL
【C/C++ 数据结构 概念】计算机数据结构基础:探索核心概念与术语
【C/C++ 数据结构 概念】计算机数据结构基础:探索核心概念与术语
208 0
|
C++ 索引
Effective C++ 英中简繁术语对照
Effective C++ 英中简繁术语对照
303 0
Effective C++ 英中简繁术语对照
|
C++ Perl 计算机视觉
C++中关于类型的一些术语
表达式的静态类型是指不考虑程序的执行语义,而仅从程序分析所得到的结果类型。表达式的静态类型只依赖于它所处的程序,在程序运行时不会改变。
1268 0
|
C++ 编译器
C++中的术语
1 声明式:所谓声明式是告诉编译器某个东西的名称和类型,但忽略细节。下面都是声明式: extern int x; //对象(object)声明式 记住:变量的声明加extern关键字 std::size_t numDigits(int numbers); //函数(function)声明式 class Widget; //类(class)声明式 template //模板(template)声明式 class GraphNode; 每个函数的声明揭示其签名式,也就是参数和返回类型。
711 0
|
11月前
|
编译器 C++ 开发者
【C++篇】深度解析类与对象(下)
在上一篇博客中,我们学习了C++的基础类与对象概念,包括类的定义、对象的使用和构造函数的作用。在这一篇,我们将深入探讨C++类的一些重要特性,如构造函数的高级用法、类型转换、static成员、友元、内部类、匿名对象,以及对象拷贝优化等。这些内容可以帮助你更好地理解和应用面向对象编程的核心理念,提升代码的健壮性、灵活性和可维护性。
|
9月前
|
编译器 C++ 容器
【c++11】c++11新特性(上)(列表初始化、右值引用和移动语义、类的新默认成员函数、lambda表达式)
C++11为C++带来了革命性变化,引入了列表初始化、右值引用、移动语义、类的新默认成员函数和lambda表达式等特性。列表初始化统一了对象初始化方式,initializer_list简化了容器多元素初始化;右值引用和移动语义优化了资源管理,减少拷贝开销;类新增移动构造和移动赋值函数提升性能;lambda表达式提供匿名函数对象,增强代码简洁性和灵活性。这些特性共同推动了现代C++编程的发展,提升了开发效率与程序性能。
379 12
|
7月前
|
人工智能 机器人 编译器
c++模板初阶----函数模板与类模板
class 类模板名private://类内成员声明class Apublic:A(T val):a(val){}private:T a;return 0;运行结果:注意:类模板中的成员函数若是放在类外定义时,需要加模板参数列表。return 0;
204 0