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.7 name Hiding [Basic.scope.hiding] 3 Basic Concepts [Basic] 3.3 Define Area and Scope [Basic. Scope] 3.3.7 Hide [Basic. Scope. Hide] A Name Can Be Hidden by An Explicit Declaration of That Same Name In a Nested Declarative Region Or Derived Class (10.2). Net Nested Declaration Area or Delivery Class (10.2) Explicit statement hidden. A class name (9.1) or enumeration name (7.2) can be hidden by the name of an object, function, or enumerator declared in the same scope. If a class or enumeration name and an object, function, or enumerator are declared in the Same Scope (in any Order) with the Same Name, The Class or Enumection Name Is Hidden WHEREVER THE Object, Function, or Enumerator Name is Visible. Class Name (9.1) or Enumeration Name (7.2) Objects in the same scope , The name of the function or enumeration is hidden. If a certain type or enumeration name and an object, a function, or an enumeration is declared as the same name in the same scope (in any order), once the object, function, or enumeration name is visible, class or enumeration The name is hidden. In a member function definition, the declaration of a local name hides the declaration of a member of the class with the same name;. See 3.3.6 The declaration of a member in a derived class (clause 10) hides the declaration of a member Of a base clases of the same name; see 10.2. In the member function definition, the declaration of local names is hidden by the same name of the class member; see 3.3.6. The members in the derived class (chapter 10) declare the statement of the same name of the base class; see 10.2. During the lookup of a name qualified by a namespace name, declarations that would otherwise be made visible by a using-directive can be hidden by declarations with the same name in the namespace containing the using-directive; see (3.4.3.2) in. During the lookup of the name defined by the namespace name, the visible statement is hidden by the same name in the name space of the USING-instruction; see 3.4.3.2.