From Jason Turner

[container.insert.return]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpyqpeoa6j/{from.md → to.md} +21 -0
tmp/tmpyqpeoa6j/{from.md → to.md} RENAMED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### Insert return type <a id="container.insert.return">[[container.insert.return]]</a>
2
+
3
+ The associative containers with unique keys and the unordered containers
4
+ with unique keys have a member function `insert` that returns a nested
5
+ type `insert_return_type`. That return type is a specialization of the
6
+ type specified in this subclause.
7
+
8
+ ``` cpp
9
+ template <class Iterator, class NodeType>
10
+ struct INSERT_RETURN_TYPE
11
+ {
12
+ Iterator position;
13
+ bool inserted;
14
+ NodeType node;
15
+ };
16
+ ```
17
+
18
+ The name `INSERT_RETURN_TYPE` is exposition only. `INSERT_RETURN_TYPE`
19
+ has the template parameters, data members, and special members specified
20
+ above. It has no base classes or members other than those specified.
21
+