- 论坛徽章:
- 0
|
13 Overloading [over]
1 When two or more different declarations are specified for a single name in the same scope, that name is
said to be overloaded. By extension, two declarations in the same scope that declare the same name but
with different types are called overloaded declarations. Only function declarations can be overloaded;
object and type declarations cannot be overloaded.
3.3.7 Name hiding
4 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).
5 If a name is in scope and is not hidden it is said to be visible.
|
|