From Jason Turner

[diff.cpp14.class]

Diff to HTML by rtfpessoa

tmp/tmpy2gcdaza/{from.md → to.md} RENAMED
@@ -5,11 +5,13 @@ into the derived class. **Rationale:** Better interaction with other
5
  language features. **Effect on original feature:** Valid C++14 code that
6
  uses inheriting constructors may not be valid or may have different
7
  semantics. A *using-declaration* that names a constructor now makes the
8
  corresponding base class constructors visible to initializations of the
9
  derived class rather than declaring additional derived class
10
- constructors. For example:
 
 
11
 
12
  ``` cpp
13
  struct A {
14
  template<typename T> A(T, typename T::type = 0);
15
  A(int);
@@ -21,5 +23,7 @@ struct B : A {
21
  B b(42L); // now calls B(int), used to call B<long>(long),
22
  // which called A(int) due to substitution failure
23
  // in A<long>(long).
24
  ```
25
 
 
 
 
5
  language features. **Effect on original feature:** Valid C++14 code that
6
  uses inheriting constructors may not be valid or may have different
7
  semantics. A *using-declaration* that names a constructor now makes the
8
  corresponding base class constructors visible to initializations of the
9
  derived class rather than declaring additional derived class
10
+ constructors.
11
+
12
+ [*Example 1*:
13
 
14
  ``` cpp
15
  struct A {
16
  template<typename T> A(T, typename T::type = 0);
17
  A(int);
 
23
  B b(42L); // now calls B(int), used to call B<long>(long),
24
  // which called A(int) due to substitution failure
25
  // in A<long>(long).
26
  ```
27
 
28
+ — *end example*]
29
+