tmp/tmpmzqcu_kv/{from.md → to.md}
RENAMED
|
@@ -1,20 +1,20 @@
|
|
| 1 |
-
#####
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
add_lvalue_reference_t<T> operator*() const;
|
| 5 |
```
|
| 6 |
|
| 7 |
-
*
|
| 8 |
|
| 9 |
*Returns:* `*get()`.
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
pointer operator->() const noexcept;
|
| 13 |
```
|
| 14 |
|
| 15 |
-
*
|
| 16 |
|
| 17 |
*Returns:* `get()`.
|
| 18 |
|
| 19 |
[*Note 4*: The use of this function typically requires that `T` be a
|
| 20 |
complete type. — *end note*]
|
|
|
|
| 1 |
+
##### Observers <a id="unique.ptr.single.observers">[[unique.ptr.single.observers]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
add_lvalue_reference_t<T> operator*() const;
|
| 5 |
```
|
| 6 |
|
| 7 |
+
*Preconditions:* `get() != nullptr`.
|
| 8 |
|
| 9 |
*Returns:* `*get()`.
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
pointer operator->() const noexcept;
|
| 13 |
```
|
| 14 |
|
| 15 |
+
*Preconditions:* `get() != nullptr`.
|
| 16 |
|
| 17 |
*Returns:* `get()`.
|
| 18 |
|
| 19 |
[*Note 4*: The use of this function typically requires that `T` be a
|
| 20 |
complete type. — *end note*]
|