From Jason Turner

[indirect.obs]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpjpq4gqig/{from.md → to.md} +41 -0
tmp/tmpjpq4gqig/{from.md → to.md} RENAMED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Observers <a id="indirect.obs">[[indirect.obs]]</a>
2
+
3
+ ``` cpp
4
+ constexpr const T& operator*() const & noexcept;
5
+ constexpr T& operator*() & noexcept;
6
+ ```
7
+
8
+ *Preconditions:* `*this` is not valueless.
9
+
10
+ *Returns:* `*`*`p`*.
11
+
12
+ ``` cpp
13
+ constexpr const T&& operator*() const && noexcept;
14
+ constexpr T&& operator*() && noexcept;
15
+ ```
16
+
17
+ *Preconditions:* `*this` is not valueless.
18
+
19
+ *Returns:* `std::move(*`*`p`*`)`.
20
+
21
+ ``` cpp
22
+ constexpr const_pointer operator->() const noexcept;
23
+ constexpr pointer operator->() noexcept;
24
+ ```
25
+
26
+ *Preconditions:* `*this` is not valueless.
27
+
28
+ *Returns:* *p*.
29
+
30
+ ``` cpp
31
+ constexpr bool valueless_after_move() const noexcept;
32
+ ```
33
+
34
+ *Returns:* `true` if `*this` is valueless, otherwise `false`.
35
+
36
+ ``` cpp
37
+ constexpr allocator_type get_allocator() const noexcept;
38
+ ```
39
+
40
+ *Returns:* *alloc*.
41
+