C++研究笔记(3)其他定义
来源:互联网 发布:fastslam算法 编辑:程序博客网 时间:2024/04/30 15:31
C++ 标准定义了一些通常会遇到的概念。
1.3.2 diagnositc message [defns.diagnostic]
a message belonging to an implementation-defined subset of the implementation's output messages.
“诊断消息”是由 C++ 实现定义的实现(编译器)输出消息的子集。
1.3.6 implementation limits [defns.impl.limits]
restrictions imposed upon programs by the implementation.
“实现限制”是 C++ 实现对程序文本强制的限制。
“实现限制”通常包括文本行长度,标识符长度,类内联层数,程序文本字符集等限制。
1.3.8 multibyte character [defns.multibyte]
a sequence of one or more bytes representing a member of the extended character set of either the source or the execution environment. The extended character set is a superset of the basic character set (2.2).
“多字节字符”是代表源文件或环境的扩展字符集中的某个成员的一个或多个字节的序列。扩展字符集是基本字符集(2.2)的超集。
1.3.9 parameter [defns.parameter]
an object or reference declared as part of a function declaration or definition, or in the catch clause of an exception handler, that acquires a value on entry to the function or handler; an identifier form the comma-separated list bounded by the parentheses immediately following the macro name in a function-like macro definition; or a template-parameter. Parameters are also known as formal arguments or formal parameters.
“参数”,是作为函数声明或定义的一部分,或在异常处理器的 catch 子句中声明的,用于在函数或异常处理器的入口点接收值的对象或引用;紧跟一个函数式宏定义中宏名字的圆括号中,逗号分隔的列表中的一个标识符;或者一个“模板参数”。参数也被称为“形式自变量”或“形式参数”。
1.3.1 argument [defns.argument]
an expression in the comma-separated list bounded by the parentheses in a function call expression, a sequence of preprocessing tokens in the comma-separated list bounded by the parentheses in a function-like macro invocation, the operand of throw
, or an expression, type-id or template-name in the comma-separated list bounded by the angle brackets in a template instantiation. Also known as an actual argument or actual parameter.
在函数调用表达式中由圆括号包围的逗号分隔列表中的一个表达式;在函数式宏调用中由圆括号包围的逗号分隔列表中的一个预处理符号序列;throw
的操作数;在模板实例化中由角括号包围的逗号分隔列表中的一个表达式,type-id 或模板名。自变量也被称为“实际自变量”或“实际参数”。
1.3.10 signature [defns.signature]
the information about a function that participates in overload resolution (13.3): the types of its parameters and, if the function is a class member, the cv- qualifiers (if any) on the function itself and the class in which the member function is declared.i) The signature of a template function specialization includes the types of its template arguments (14.5.5.1).
“函数签名”是某函数的重载解析过程需要的信息(13.3):包括所有函数参数的类型,以及当函数是某类的成员时,还要包括函数本身的 cv- 限定词(如果存在),和定义此成员函数的类。1) 特化的模板函数的签名同时包括其模板参数的类型(14.5.5.1)。
i) Function signatures do not include return type, because that does not participate in overload resolution.
函数签名中不包含返回值类型,因为它不参与函数的重载解析过程。
const
和 volatile
属性信息。
- C++研究笔记(3)其他定义
- 【C/C++】C++库研究笔记——函数名的宏定义
- C++库研究笔记——函数名的宏定义
- C学习笔记(九)结构和其他数据形式
- C语言宏定义讲解(C和指针 笔记)
- 【C语言】[其他]:宏定义swap(x,y)
- C\C++宏定义笔记
- Paho MQTT 嵌入式c客户端研究笔记 (二)
- Object C学习笔记3-对象的使用和定义
- Object-C学习笔记(一):类的定义
- C语言宏定义的可变参数研究
- X Window研究笔记(3)(转贴)
- Paho MQTT 嵌入式c客户端研究笔记
- C++笔记(Effective其他)
- ROS笔记:(8)其他
- C语言学习笔记(六)——其他编程知识
- C语言学习笔记(七)——其他运算符
- Common Lisp笔记(3)函数定义
- Cookie 的写入与读取
- 把aspx文件编译成DLL文件
- thProcesses.ProcessFirst(&pe);取得进程
- Fibonacci
- alert在asp.net中的应用
- C++研究笔记(3)其他定义
- J2EE 中的安全第一部分 - J2EE安全介绍
- 在 WebSphere Studio V5 中使用定制注册中心测试 J2EE 安全性应用程序
- “赤名莉香”
- 你能忘记吗?
- 生日
- Asp.net中基于Forms验证的角色验证授权
- CreateProcess 运行外部或DOS程序
- 如何使用 C# .NET 在 ASP.NET 应用程序中实现基于窗体的身份验证