Home > Back-end >  About the unrestricted name lookup
About the unrestricted name lookup

Time:10-12


A member function definition
In the member function body, a member function default arguments, member function abnormalities, the default member initializer or within the definition of a nested class (including nested classes from the derivation of the name of the base class) used in the name, to look up every scope definition and class of the same, but want to consider the whole scope of the class, and not only is the use of the statement before the part of the name, for nested classes, the periphery of the whole class body all want to look up,



Citing the
https://zh.cppreference.com/w/cpp/language/unqualified_lookup
A description of the

CodePudding user response:

For the red font description of how to understand, can you give an example?

Around my head hurts
  • Related