From Jason Turner

[container.node.observers]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp0humlbv9/{from.md → to.md} +61 -0
tmp/tmp0humlbv9/{from.md → to.md} RENAMED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### `node_handle` observers <a id="container.node.observers">[[container.node.observers]]</a>
2
+
3
+ ``` cpp
4
+ value_type& value() const;
5
+ ```
6
+
7
+ *Requires:* `empty() == false`.
8
+
9
+ *Returns:* A reference to the `value_type` subobject in the
10
+ `container_node_type` object pointed to by `ptr_`.
11
+
12
+ *Throws:* Nothing.
13
+
14
+ ``` cpp
15
+ key_type& key() const;
16
+ ```
17
+
18
+ *Requires:* `empty() == false`.
19
+
20
+ *Returns:* A non-const reference to the `key_type` member of the
21
+ `value_type` subobject in the `container_node_type` object pointed to by
22
+ `ptr_`.
23
+
24
+ *Throws:* Nothing.
25
+
26
+ *Remarks:* Modifying the key through the returned reference is
27
+ permitted.
28
+
29
+ ``` cpp
30
+ mapped_type& mapped() const;
31
+ ```
32
+
33
+ *Requires:* `empty() == false`.
34
+
35
+ *Returns:* A reference to the `mapped_type` member of the `value_type`
36
+ subobject in the `container_node_type` object pointed to by `ptr_`.
37
+
38
+ *Throws:* Nothing.
39
+
40
+ ``` cpp
41
+ allocator_type get_allocator() const;
42
+ ```
43
+
44
+ *Requires:* `empty() == false`.
45
+
46
+ *Returns:* `*alloc_`.
47
+
48
+ *Throws:* Nothing.
49
+
50
+ ``` cpp
51
+ explicit operator bool() const noexcept;
52
+ ```
53
+
54
+ *Returns:* `ptr_ != nullptr`.
55
+
56
+ ``` cpp
57
+ bool empty() const noexcept;
58
+ ```
59
+
60
+ *Returns:* `ptr_ == nullptr`.
61
+