tmp/tmpyd8et2aq/{from.md → to.md}
RENAMED
|
@@ -35,22 +35,23 @@ operations involving node handles is undefined.
|
|
| 35 |
|
| 36 |
``` cpp
|
| 37 |
template<unspecified>
|
| 38 |
class node-handle {
|
| 39 |
public:
|
| 40 |
-
// These type declarations are described in
|
| 41 |
using value_type = see below; // not present for map containers
|
| 42 |
using key_type = see below; // not present for set containers
|
| 43 |
using mapped_type = see below; // not present for set containers
|
| 44 |
using allocator_type = see below;
|
| 45 |
|
| 46 |
private:
|
| 47 |
-
using container_node_type = unspecified;
|
| 48 |
-
using ator_traits = allocator_traits<allocator_type>;
|
| 49 |
|
| 50 |
-
typename ator_traits::template
|
| 51 |
-
|
|
|
|
| 52 |
|
| 53 |
public:
|
| 54 |
// [container.node.cons], constructors, copy, and assignment
|
| 55 |
constexpr node-handle() noexcept : ptr_(), alloc_() {}
|
| 56 |
node-handle(node-handle&&) noexcept;
|
|
|
|
| 35 |
|
| 36 |
``` cpp
|
| 37 |
template<unspecified>
|
| 38 |
class node-handle {
|
| 39 |
public:
|
| 40 |
+
// These type declarations are described in [associative.reqmts] and [unord.req].
|
| 41 |
using value_type = see below; // not present for map containers
|
| 42 |
using key_type = see below; // not present for set containers
|
| 43 |
using mapped_type = see below; // not present for set containers
|
| 44 |
using allocator_type = see below;
|
| 45 |
|
| 46 |
private:
|
| 47 |
+
using container_node_type = unspecified; // exposition only
|
| 48 |
+
using ator_traits = allocator_traits<allocator_type>; // exposition only
|
| 49 |
|
| 50 |
+
typename ator_traits::template
|
| 51 |
+
rebind_traits<container_node_type>::pointer ptr_; // exposition only
|
| 52 |
+
optional<allocator_type> alloc_; // exposition only
|
| 53 |
|
| 54 |
public:
|
| 55 |
// [container.node.cons], constructors, copy, and assignment
|
| 56 |
constexpr node-handle() noexcept : ptr_(), alloc_() {}
|
| 57 |
node-handle(node-handle&&) noexcept;
|