From Jason Turner

[unique.ptr.runtime.ctor]

Diff to HTML by rtfpessoa

tmp/tmpkg9t27tw/{from.md → to.md} RENAMED
@@ -1,9 +1,9 @@
1
  ##### Constructors <a id="unique.ptr.runtime.ctor">[[unique.ptr.runtime.ctor]]</a>
2
 
3
  ``` cpp
4
- template<class U> explicit unique_ptr(U p) noexcept;
5
  ```
6
 
7
  This constructor behaves the same as the constructor in the primary
8
  template that takes a single parameter of type `pointer`.
9
 
@@ -12,12 +12,12 @@ template that takes a single parameter of type `pointer`.
12
  - `U` is the same type as `pointer`, or
13
  - `pointer` is the same type as `element_type*`, `U` is a pointer type
14
  `V*`, and `V(*)[]` is convertible to `element_type(*)[]`.
15
 
16
  ``` cpp
17
- template<class U> unique_ptr(U p, see below d) noexcept;
18
- template<class U> unique_ptr(U p, see below d) noexcept;
19
  ```
20
 
21
  These constructors behave the same as the constructors in the primary
22
  template that take a parameter of type `pointer` and a second parameter.
23
 
@@ -27,11 +27,11 @@ template that take a parameter of type `pointer` and a second parameter.
27
  - `U` is `nullptr_t`, or
28
  - `pointer` is the same type as `element_type*`, `U` is a pointer type
29
  `V*`, and `V(*)[]` is convertible to `element_type(*)[]`.
30
 
31
  ``` cpp
32
- template<class U, class E> unique_ptr(unique_ptr<U, E>&& u) noexcept;
33
  ```
34
 
35
  This constructor behaves the same as in the primary template.
36
 
37
  *Constraints:* Where `UP` is `unique_ptr<U, E>`:
 
1
  ##### Constructors <a id="unique.ptr.runtime.ctor">[[unique.ptr.runtime.ctor]]</a>
2
 
3
  ``` cpp
4
+ template<class U> constexpr explicit unique_ptr(U p) noexcept;
5
  ```
6
 
7
  This constructor behaves the same as the constructor in the primary
8
  template that takes a single parameter of type `pointer`.
9
 
 
12
  - `U` is the same type as `pointer`, or
13
  - `pointer` is the same type as `element_type*`, `U` is a pointer type
14
  `V*`, and `V(*)[]` is convertible to `element_type(*)[]`.
15
 
16
  ``` cpp
17
+ template<class U> constexpr unique_ptr(U p, see below d) noexcept;
18
+ template<class U> constexpr unique_ptr(U p, see below d) noexcept;
19
  ```
20
 
21
  These constructors behave the same as the constructors in the primary
22
  template that take a parameter of type `pointer` and a second parameter.
23
 
 
27
  - `U` is `nullptr_t`, or
28
  - `pointer` is the same type as `element_type*`, `U` is a pointer type
29
  `V*`, and `V(*)[]` is convertible to `element_type(*)[]`.
30
 
31
  ``` cpp
32
+ template<class U, class E> constexpr unique_ptr(unique_ptr<U, E>&& u) noexcept;
33
  ```
34
 
35
  This constructor behaves the same as in the primary template.
36
 
37
  *Constraints:* Where `UP` is `unique_ptr<U, E>`: