From Jason Turner

[container.node]

Diff to HTML by rtfpessoa

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