From Jason Turner

[over.pre]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmppvy0mfgy/{from.md → to.md} +9 -11
tmp/tmppvy0mfgy/{from.md → to.md} RENAMED
@@ -1,19 +1,17 @@
1
  ## Preamble <a id="over.pre">[[over.pre]]</a>
2
 
3
- When two or more different declarations are specified for a single name
4
- in the same scope, that name is said to be *overloaded*, and the
5
- declarations are called *overloaded declarations*. Only function and
6
- function template declarations can be overloaded; variable and type
7
- declarations cannot be overloaded.
8
 
9
- When a function name is used in a call, which function declaration is
10
- being referenced and the validity of the call are determined by
11
- comparing the types of the arguments at the point of use with the types
12
- of the parameters in the declarations that are visible at the point of
13
- use. This function selection process is called *overload resolution* and
14
- is defined in  [[over.match]].
15
 
16
  [*Example 1*:
17
 
18
  ``` cpp
19
  double abs(double);
 
1
  ## Preamble <a id="over.pre">[[over.pre]]</a>
2
 
3
+ [*Note 1*: Each of two or more entities with the same name in the same
4
+ scope, which must be functions or function templates, is commonly called
5
+ an “overload”. *end note*]
 
 
6
 
7
+ When a function is named in a call, which function declaration is being
8
+ referenced and the validity of the call are determined by comparing the
9
+ types of the arguments at the point of use with the types of the
10
+ parameters in the declarations in the overload set. This function
11
+ selection process is called *overload resolution* and is defined in 
12
+ [[over.match]].
13
 
14
  [*Example 1*:
15
 
16
  ``` cpp
17
  double abs(double);