Skip to content

Commit

Permalink
[container.node] Index 'node-handle'.
Browse files Browse the repository at this point in the history
  • Loading branch information
jensmaurer committed Nov 9, 2021
1 parent d5b3be4 commit b5dd76f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions source/containers.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1297,7 +1297,7 @@

\begin{codeblock}
template<@\unspecnc@>
class @\placeholder{node-handle}@ {
class @\libexposid{node-handle}@ {
public:
// These type declarations are described in Tables \ref{tab:container.assoc.req} and \ref{tab:container.hash.req}.
using value_type = @\seebelownc{}@; // not present for map containers
Expand All @@ -1315,12 +1315,12 @@

public:
// \ref{container.node.cons}, constructors, copy, and assignment
constexpr @\placeholdernc{node-handle}@() noexcept : ptr_(), alloc_() {}
@\placeholdernc{node-handle}@(@\placeholdernc{node-handle}@&&) noexcept;
@\placeholdernc{node-handle}@& operator=(@\placeholdernc{node-handle}@&&);
constexpr @\exposidnc{node-handle}@() noexcept : ptr_(), alloc_() {}
@\exposidnc{node-handle}@(@\exposidnc{node-handle}@&&) noexcept;
@\exposidnc{node-handle}@& operator=(@\exposidnc{node-handle}@&&);

// \ref{container.node.dtor}, destructor
~@\placeholdernc{node-handle}@();
~@\exposidnc{node-handle}@();

// \ref{container.node.observers}, observers
value_type& value() const; // not present for map containers
Expand All @@ -1332,11 +1332,11 @@
[[nodiscard]] bool empty() const noexcept;

// \ref{container.node.modifiers}, modifiers
void swap(@\placeholdernc{node-handle}@&)
void swap(@\exposidnc{node-handle}@&)
noexcept(ator_traits::propagate_on_container_swap::value ||
ator_traits::is_always_equal::value);

friend void swap(@\placeholdernc{node-handle}@& x, @\placeholdernc{node-handle}@& y) noexcept(noexcept(x.swap(y))) {
friend void swap(@\exposidnc{node-handle}@& x, @\exposidnc{node-handle}@& y) noexcept(noexcept(x.swap(y))) {
x.swap(y);
}
};
Expand All @@ -1345,7 +1345,7 @@
\rSec3[container.node.cons]{Constructors, copy, and assignment}

\begin{itemdecl}
@\placeholdernc{node-handle}@(@\placeholdernc{node-handle}@&& nh) noexcept;
@\exposidnc{node-handle}@(@\exposidnc{node-handle}@&& nh) noexcept;
\end{itemdecl}

\begin{itemdescr}
Expand All @@ -1358,7 +1358,7 @@
\end{itemdescr}

\begin{itemdecl}
@\placeholdernc{node-handle}@& operator=(@\placeholdernc{node-handle}@&& nh);
@\exposidnc{node-handle}@& operator=(@\exposidnc{node-handle}@&& nh);
\end{itemdecl}

\begin{itemdescr}
Expand Down Expand Up @@ -1400,7 +1400,7 @@
\rSec3[container.node.dtor]{Destructor}

\begin{itemdecl}
~@\placeholdernc{node-handle}@();
~@\exposidnc{node-handle}@();
\end{itemdecl}

\begin{itemdescr}
Expand Down Expand Up @@ -1519,7 +1519,7 @@
\rSec3[container.node.modifiers]{Modifiers}

\begin{itemdecl}
void swap(@\placeholdernc{node-handle}@& nh)
void swap(@\exposidnc{node-handle}@& nh)
noexcept(ator_traits::propagate_on_container_swap::value ||
ator_traits::is_always_equal::value);
\end{itemdecl}
Expand Down

0 comments on commit b5dd76f

Please sign in to comment.