From Jason Turner

[dcl.fct.def.delete]

Diff to HTML by rtfpessoa

tmp/tmpdsvxekhc/{from.md → to.md} RENAMED
@@ -1,21 +1,22 @@
1
  ### Deleted definitions <a id="dcl.fct.def.delete">[[dcl.fct.def.delete]]</a>
2
 
3
- A function definition whose *function-body* is of the form `= delete ;`
4
- is called a *deleted definition*. A function with a deleted definition
5
- is also called a *deleted function*.
 
 
6
 
7
  A program that refers to a deleted function implicitly or explicitly,
8
  other than to declare it, is ill-formed.
9
 
10
  [*Note 1*: This includes calling the function implicitly or explicitly
11
  and forming a pointer or pointer-to-member to the function. It applies
12
  even for references in expressions that are not potentially-evaluated.
13
- If a function is overloaded, it is referenced only if the function is
14
- selected by overload resolution. The implicit odr-use [[basic.def.odr]]
15
- of a virtual function does not, by itself, constitute a
16
- reference. — *end note*]
17
 
18
  [*Example 1*:
19
 
20
  One can prevent default initialization and initialization by
21
  non-`double`s with
 
1
  ### Deleted definitions <a id="dcl.fct.def.delete">[[dcl.fct.def.delete]]</a>
2
 
3
+ A *deleted definition* of a function is a function definition whose
4
+ *function-body* is of the form `= delete ;` or an explicitly-defaulted
5
+ definition of the function where the function is defined as deleted. A
6
+ *deleted function* is a function with a deleted definition or a function
7
+ that is implicitly defined as deleted.
8
 
9
  A program that refers to a deleted function implicitly or explicitly,
10
  other than to declare it, is ill-formed.
11
 
12
  [*Note 1*: This includes calling the function implicitly or explicitly
13
  and forming a pointer or pointer-to-member to the function. It applies
14
  even for references in expressions that are not potentially-evaluated.
15
+ For an overload set, only the function selected by overload resolution
16
+ is referenced. The implicit odr-use [[term.odr.use]] of a virtual
17
+ function does not, by itself, constitute a reference. — *end note*]
 
18
 
19
  [*Example 1*:
20
 
21
  One can prevent default initialization and initialization by
22
  non-`double`s with