3.3.2 - [Basic.scope.local] - [Basic. Scope. Partial]

xiaoxiao2021-03-06  90

Please don't reprint this article; please don't re-publish this article in any form; please delete it within 24 hours of downloading this article; it is forbidden to use this article for commercial purposes.

3 Basic Concepts [Basic] 3.3 Declarative Regions and scopes [Basic.scope] 3.3.2 local scope [Basic.scope.local] 3 Basic concept [Basic] 3.3 Define the area and scope [Basic. Scope] 3.3.2 Scope [Basic. Scope. Local] A Name Declared In A Block (6.3) Is Local To That Block. Its Potential Scope Begins At Its Point of Declaration (3.3.1) And ends at the end of its declarative region. Block The name declared in (6.3) is part to this block. Its potential scope starts from its declaration point (3.3.1) to the end of its declaration area. The potential scope of a function parameter name in a function definition (8.4) begins at its point of declaration. If the function has a function try-block the potential scope of a parameter ends at the end of the last associated handler, else it ends at the end of the outermost block of the function definition. A parameter name shall not be redeclared in the outermost block of the function definition nor in the outermost block of any handler associated with a function try-block. function definition (8.4) of the function The potential scope of the parameter name begins with its declaration point. If the function has a function try-block, the potential scope of the parameter ends to the end of its last associated processor, otherwise it ends to the end of the end of the function. Parameter names are not re-declared in the outermost block of any processors associated with any processors associated with any processors associated with the function of the function defined. The name in a catch exception-declaration is local to the handler and shavert block of the handler. The name part in the catch exception declaration is partially on the processor and cannot be in the outermost layer of the processor. Reproduction in blocks.

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

New Post(0)