From Jason Turner

[class.derived.general]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpr__vix4f/{from.md → to.md} +11 -8
tmp/tmpr__vix4f/{from.md → to.md} RENAMED
@@ -23,11 +23,11 @@ base-specifier:
23
 
24
  ``` bnf
25
  class-or-decltype:
26
  nested-name-specifierₒₚₜ type-name
27
  nested-name-specifier template simple-template-id
28
- decltype-specifier
29
  ```
30
 
31
  ``` bnf
32
  access-specifier:
33
  private
@@ -42,17 +42,20 @@ The component names of a *class-or-decltype* are those of its
42
  *nested-name-specifier*, *type-name*, and/or *simple-template-id*. A
43
  *class-or-decltype* shall denote a (possibly cv-qualified) class type
44
  that is not an incompletely defined class [[class.mem]]; any
45
  cv-qualifiers are ignored. The class denoted by the *class-or-decltype*
46
  of a *base-specifier* is called a *direct base class* for the class
47
- being defined. The lookup for the component name of the *type-name* or
48
- *simple-template-id* is type-only [[basic.lookup]]. A class `B` is a
49
- base class of a class `D` if it is a direct base class of `D` or a
50
- direct base class of one of `D`’s base classes. A class is an
51
- *indirect base class* of another if it is a base class but not a direct
52
- base class. A class is said to be (directly or indirectly) *derived*
53
- from its (direct or indirect) base classes.
 
 
 
54
 
55
  [*Note 1*: See [[class.access]] for the meaning of
56
  *access-specifier*. — *end note*]
57
 
58
  Members of a base class are also members of the derived class.
 
23
 
24
  ``` bnf
25
  class-or-decltype:
26
  nested-name-specifierₒₚₜ type-name
27
  nested-name-specifier template simple-template-id
28
+ computed-type-specifier
29
  ```
30
 
31
  ``` bnf
32
  access-specifier:
33
  private
 
42
  *nested-name-specifier*, *type-name*, and/or *simple-template-id*. A
43
  *class-or-decltype* shall denote a (possibly cv-qualified) class type
44
  that is not an incompletely defined class [[class.mem]]; any
45
  cv-qualifiers are ignored. The class denoted by the *class-or-decltype*
46
  of a *base-specifier* is called a *direct base class* for the class
47
+ being defined; for each such *base-specifier*, the corresponding
48
+ *direct base class relationship* is the ordered pair (`D`, `B`) where
49
+ `D` is the class being defined and `B` is the direct base class. The
50
+ lookup for the component name of the *type-name* or *simple-template-id*
51
+ is type-only [[basic.lookup]]. A class `B` is a base class of a class
52
+ `D` if it is a direct base class of `D` or a direct base class of one of
53
+ `D`’s base classes. A class is an *indirect base class* of another if it
54
+ is a base class but not a direct base class. A class is said to be
55
+ (directly or indirectly) *derived* from its (direct or indirect) base
56
+ classes.
57
 
58
  [*Note 1*: See [[class.access]] for the meaning of
59
  *access-specifier*. — *end note*]
60
 
61
  Members of a base class are also members of the derived class.