C ++ research notes (3) Other definitions

xiaoxiao2021-03-06  118

The C standard defines some concepts that are usually encountered.

1.3.2 Diagnositc Message [Defns.Diagnostic]

A Message Belonging to An Implementation-Defined Subset Of The Implement's Output Messages. "Diagnostic Message" is a subset of the implementation (compiler) output message by the C implementation.

1.3.6 Implementation Limits [Defns.Impl.limits]

Restrictions Imposed Upon Programs By The Implementation. "Implementation" is C implementation to program text enforcement restrictions.

"Implementation" typically includes text line length, identifier length, class inline layer, program text character set, and so on.

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). "multibyte character" is the representative of the source file Or the sequence of one or more bytes of a member of the expanded character set. The extended character set is a supercoming of the basic character set (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. "Parameters" are part of the function declaration or definition, or at the Catch clause of the exception processor Declare, an object or reference for receiving a value in the entry point of the function or an exception processor; followed by a function macro definition in the parentheses of the macro name, a comma-separated list of identifiers; or one " Template parameters. Parameters are also known as "formal alone" or "form parameters".

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. a comma-separated list in the function call expression enclosed by parentheses in a Expression; a pre-processing symbol sequence in the comma-separated list surrounded by the function macro; Throw's operand; one of the comma-separated lists surrounded by the template spacing, TYPE -ID or template name. The independent variable is also known as "actual own variable" or "actual parameters". 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). "Function Sign" is the information required for a function overload parsing process (13.3): including all functions parameters, And when a function is a member of a member, it is necessary to include the CV-defined word (if present), and define the class of this member function. 1) The signature of the template function of the specialization includes the type of the template parameter (14.5.5.1). I) Function Signatures Do Not Include Return Type, Because That Does Not Participate In Overload Resolution. The function signature does not contain the return value type because it does not participate in the function's overload parsing process.

CV-limit words are class members functions

CONST and

Volatile property information.

转载请注明原文地址:https://www.9cbs.com/read-99974.html

New Post(0)