From Jason Turner

[temp.deduct.decl]

Diff to HTML by rtfpessoa

tmp/tmprhp2itwz/{from.md → to.md} RENAMED
@@ -1,21 +1,21 @@
1
  #### Deducing template arguments from a function declaration <a id="temp.deduct.decl">[[temp.deduct.decl]]</a>
2
 
3
  In a declaration whose *declarator-id* refers to a specialization of a
4
  function template, template argument deduction is performed to identify
5
  the specialization to which the declaration refers. Specifically, this
6
- is done for explicit instantiations ([[temp.explicit]]), explicit
7
- specializations ([[temp.expl.spec]]), and certain friend declarations (
8
- [[temp.friend]]). This is also done to determine whether a deallocation
9
  function template specialization matches a placement `operator new` (
10
- [[basic.stc.dynamic.deallocation]],  [[expr.new]]). In all these cases,
11
  `P` is the type of the function template being considered as a potential
12
  match and `A` is either the function type from the declaration or the
13
  type of the deallocation function that would match the placement
14
  `operator new` as described in  [[expr.new]]. The deduction is done as
15
  described in  [[temp.deduct.type]].
16
 
17
  If, for the set of function templates so considered, there is either no
18
- match or more than one match after partial ordering has been
19
- considered ([[temp.func.order]]), deduction fails and, in the
20
- declaration cases, the program is ill-formed.
21
 
 
1
  #### Deducing template arguments from a function declaration <a id="temp.deduct.decl">[[temp.deduct.decl]]</a>
2
 
3
  In a declaration whose *declarator-id* refers to a specialization of a
4
  function template, template argument deduction is performed to identify
5
  the specialization to which the declaration refers. Specifically, this
6
+ is done for explicit instantiations [[temp.explicit]], explicit
7
+ specializations [[temp.expl.spec]], and certain friend declarations
8
+ [[temp.friend]]. This is also done to determine whether a deallocation
9
  function template specialization matches a placement `operator new` (
10
+ [[basic.stc.dynamic.deallocation]], [[expr.new]]). In all these cases,
11
  `P` is the type of the function template being considered as a potential
12
  match and `A` is either the function type from the declaration or the
13
  type of the deallocation function that would match the placement
14
  `operator new` as described in  [[expr.new]]. The deduction is done as
15
  described in  [[temp.deduct.type]].
16
 
17
  If, for the set of function templates so considered, there is either no
18
+ match or more than one match after partial ordering has been considered
19
+ [[temp.func.order]], deduction fails and, in the declaration cases, the
20
+ program is ill-formed.
21