From Jason Turner

[hidden.friends]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp3_fo_dc2/{from.md → to.md} +16 -0
tmp/tmp3_fo_dc2/{from.md → to.md} RENAMED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Friend functions <a id="hidden.friends">[[hidden.friends]]</a>
2
+
3
+ Whenever this document specifies a friend declaration of a function or
4
+ function template within a class or class template definition, that
5
+ declaration shall be the only declaration of that function or function
6
+ template provided by an implementation.
7
+
8
+ [*Note 1*: In particular, an implementation is not allowed to provide
9
+ an additional declaration of that function or function template at
10
+ namespace scope. — *end note*]
11
+
12
+ [*Note 2*: Such a friend function or function template declaration is
13
+ known as a hidden friend, as it is visible neither to ordinary
14
+ unqualified lookup [[basic.lookup.unqual]] nor to qualified lookup
15
+ [[basic.lookup.qual]]. — *end note*]
16
+