tmp/tmpu5giag39/{from.md → to.md}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
##### Assignment <a id="unique.ptr.runtime.asgn">[[unique.ptr.runtime.asgn]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
template<class U, class E> unique_ptr& operator=(unique_ptr<U, E>&& u)noexcept;
|
| 5 |
```
|
| 6 |
|
| 7 |
This operator behaves the same as in the primary template.
|
| 8 |
|
| 9 |
*Constraints:* Where `UP` is `unique_ptr<U, E>`:
|
|
|
|
| 1 |
##### Assignment <a id="unique.ptr.runtime.asgn">[[unique.ptr.runtime.asgn]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
template<class U, class E> constexpr unique_ptr& operator=(unique_ptr<U, E>&& u) noexcept;
|
| 5 |
```
|
| 6 |
|
| 7 |
This operator behaves the same as in the primary template.
|
| 8 |
|
| 9 |
*Constraints:* Where `UP` is `unique_ptr<U, E>`:
|