Skip to content

Commit

Permalink
[socket] [internet] Improve indexing of extensible implementation pro…
Browse files Browse the repository at this point in the history
…perties
  • Loading branch information
jwakely committed May 20, 2020
1 parent f2a764f commit 2b6b533
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
10 changes: 5 additions & 5 deletions src/internetprotocol.tex
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@
};
\end{codeblock}

\indexextensible{MulticastGroupSocketOption}%
\indexextensiblereq{MulticastGroupSocketOption}%
\pnum
Extensible implementations provide the following member functions:

Expand Down Expand Up @@ -2733,7 +2733,7 @@
\pnum
\changed{Instances}{Specializations} of the \tcode{basic_endpoint} class template meet the requirements for an \tmpnewoldconcept{Endpoint}~(\ref{socket.reqmts.endpoint}).

\indexextensible{basic_endpoint}%
\indexextensibletype{basic_endpoint}%
\pnum
Extensible implementations provide the following member functions:

Expand Down Expand Up @@ -4001,7 +4001,7 @@
\pnum
The \tcode{tcp} class meets the requirements for an \tmpnewoldconcept{InternetProtocol}~(\ref{internet.reqmts.protocol}).

\indexextensible{tcp}%
\indexextensibletype{tcp}%
\pnum
Extensible implementations provide the following member functions:

Expand Down Expand Up @@ -4130,7 +4130,7 @@
\pnum
The \tcode{udp} class meets the requirements for an \tmpnewoldconcept{InternetProtocol}~(\ref{internet.reqmts.protocol}).

\indexextensible{udp}%
\indexextensibletype{udp}%
\pnum
Extensible implementations provide the following member functions:

Expand Down Expand Up @@ -4347,7 +4347,7 @@
\pnum
\tcode{outbound_interface} \changed{satisfies}{meets} the requirements for \tmpoldconcept{Destructible} (\CppXref{destructible}), \tmpoldconcept{CopyConstructible} (\CppXref{copyconstructible}), \tmpoldconcept{CopyAssignable} (\CppXref{copyassignable}), and \tmpnewoldconcept{SettableSocketOption}~(\ref{socket.reqmts.settablesocketoption}).

\indexextensible{outbound_interface}%
\indexextensibletype{outbound_interface}%
\pnum
Extensible implementations provide the following member functions:

Expand Down
12 changes: 7 additions & 5 deletions src/sockets.tex
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@

\end{libreqtab3}

\indexextensible{Endpoint}%
\indexextensiblereq{Endpoint}%
\pnum
In the table below, \tcode{a} denotes a \removed{(possibly const)} value of type \added{(possibly const)} \tcode{X},
\tcode{b} denotes a value of type \tcode{X},
Expand Down Expand Up @@ -350,7 +350,7 @@

\end{libreqtab3}

\indexextensible{Protocol}%
\indexextensiblereq{Protocol}%
\pnum
In the table below, \tcode{a} denotes a \removed{(possibly const)} value of type \added{(possibly const)} \tcode{X}.

Expand Down Expand Up @@ -413,6 +413,7 @@



\indexextensiblereq{GettableSocketOption}%
\rSec2[socket.reqmts.gettablesocketoption]{Gettable socket option requirements}

\pnum
Expand Down Expand Up @@ -465,6 +466,7 @@



\indexextensiblereq{SettableSocketOption}%
\rSec2[socket.reqmts.settablesocketoption]{Settable socket option requirements}

\pnum
Expand Down Expand Up @@ -579,7 +581,7 @@
};
\end{codeblock}

\indexextensible{BooleanSocketOption}%
\indexextensiblereq{BooleanSocketOption}%
\pnum
Extensible implementations provide the following member functions:

Expand Down Expand Up @@ -772,7 +774,7 @@
};
\end{codeblock}

\indexextensible{BooleanSocketOption}%
\indexextensiblereq{BooleanSocketOption}%
\pnum
Extensible implementations provide the following member functions:

Expand Down Expand Up @@ -1271,7 +1273,7 @@
\pnum
\tcode{linger} \changed{satisfies}{meets} the requirements of \tmpoldconcept{Destructible} (\CppXref{destructible}), \tmpoldconcept{DefaultConstructible} (\CppXref{defaultconstructible}), \tmpoldconcept{CopyConstructible} (\CppXref{copyconstructible}), \tmpoldconcept{CopyAssignable} (\CppXref{copyassignable}), \tmpnewoldconcept{GettableSocketOption}~(\ref{socket.reqmts.gettablesocketoption}), and \tmpnewoldconcept{SettableSocketOption}~(\ref{socket.reqmts.settablesocketoption}).

\indexextensible{linger}%
\indexextensibletype{linger}%
\pnum
Extensible implementations provide the following member functions:

Expand Down
8 changes: 6 additions & 2 deletions src/ts.tex
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,13 @@

% Add an extensible implementation entry to the main and library name indices
\newcommand{\indexextensible}[1]{%
\indextext{extensible implementation!\idxnewoldconcept{#1}}%
\indextext{\idxnewoldconcept{#1}!extensible implementation}%
\indextext{extensible implementation!#1}%
\indextext{#1!extensible implementation}%
}
% Index extry for requirements on extensible implementations.
\newcommand{\indexextensiblereq}[1]{\indexextensible{\idxnewoldconcept{#1}}}
% Index extry for type properties on extensible implementations.
\newcommand{\indexextensibletype}[1]{\indexextensible{\idxcode{#1}}}

\newcommand{\namespaceverN}{v2}
\newcommand{\namespacever}{\changed{v1}{\namespaceverN}}
Expand Down

0 comments on commit 2b6b533

Please sign in to comment.