From Jason Turner

[temp.deduct.funcaddr]

Diff to HTML by rtfpessoa

tmp/tmprfbrjo5g/{from.md → to.md} RENAMED
@@ -1,13 +1,14 @@
1
  #### Deducing template arguments taking the address of a function template <a id="temp.deduct.funcaddr">[[temp.deduct.funcaddr]]</a>
2
 
3
  Template arguments can be deduced from the type specified when taking
4
- the address of an overloaded function ([[over.over]]). The function
5
- template’s function type and the specified type are used as the types of
6
- `P` and `A`, and the deduction is done as described in 
7
- [[temp.deduct.type]].
 
8
 
9
- A placeholder type ([[dcl.spec.auto]]) in the return type of a function
10
  template is a non-deduced context. If template argument deduction
11
  succeeds for such a function, the return type is determined from
12
  instantiation of the function body.
13
 
 
1
  #### Deducing template arguments taking the address of a function template <a id="temp.deduct.funcaddr">[[temp.deduct.funcaddr]]</a>
2
 
3
  Template arguments can be deduced from the type specified when taking
4
+ the address of an overloaded function [[over.over]]. If there is a
5
+ target, the function template’s function type and the target type are
6
+ used as the types of `P` and `A`, and the deduction is done as described
7
+ in  [[temp.deduct.type]]. Otherwise, deduction is performed with empty
8
+ sets of types P and A.
9
 
10
+ A placeholder type [[dcl.spec.auto]] in the return type of a function
11
  template is a non-deduced context. If template argument deduction
12
  succeeds for such a function, the return type is determined from
13
  instantiation of the function body.
14