Skip to content

Commit aefc83c

Browse files
jensmaurertkoeppe
authored andcommitted
[utility], [bitset] Introduce a separate heading for the synopsis. (#1213)
Partially addresses #566.
1 parent 0a3f38c commit aefc83c

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

source/utilities.tex

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,7 @@
4040
\indextext{\idxhdr{utility}}%
4141
\indexlibrary{\idxhdr{utility}}%
4242
\indexlibrary{\idxcode{rel_ops}}%
43-
\synopsis{Header \tcode{<utility>} synopsis}
44-
45-
\pnum
46-
The header \tcode{<utility>} defines several types and function templates
47-
that are described in this Clause. It also defines the template \tcode{pair}
48-
and various function templates that operate on \tcode{pair} objects.
43+
\rSec2[utility.syn]{Header \tcode{<utility>} synopsis}
4944

5045
\begin{codeblock}
5146
#include <initializer_list>
@@ -250,6 +245,11 @@
250245
}
251246
\end{codeblock}
252247

248+
\pnum
249+
The header \tcode{<utility>} defines several types and function templates
250+
that are described in this Clause. It also defines the template \tcode{pair}
251+
and various function templates that operate on \tcode{pair} objects.
252+
253253
\pnum
254254
The type \tcode{chars_format}
255255
is a bitmask type~(\ref{bitmask.types})
@@ -5886,10 +5886,10 @@
58865886
\end{example}
58875887
\end{itemdescr}
58885888

5889-
\rSec1[template.bitset]{Class template \tcode{bitset}}%
5889+
\rSec1[bitset]{Bitsets}
58905890
\indexlibrary{\idxcode{bitset}}%
58915891

5892-
\synopsis{Header \tcode{<bitset>} synopsis}%
5892+
\rSec2[bitset.syn]{Header \tcode{<bitset>} synopsis}%
58935893

58945894
\indextext{\idxhdr{bitset}}%
58955895
\indexlibrary{\idxhdr{bitset}}%
@@ -5924,6 +5924,7 @@
59245924
and several related functions for representing
59255925
and manipulating fixed-size sequences of bits.
59265926

5927+
\rSec2[template.bitset]{Class template \tcode{bitset}}%
59275928
\indexlibrary{\idxcode{bitset}}%
59285929
\begin{codeblock}
59295930
namespace std {
@@ -6049,7 +6050,7 @@
60496050
\indexlibrary{\idxcode{overflow_error}}%
60506051
\end{itemize}
60516052

6052-
\rSec2[bitset.cons]{\tcode{bitset} constructors}
6053+
\rSec3[bitset.cons]{\tcode{bitset} constructors}
60536054

60546055
\indexlibrary{\idxcode{bitset}!constructor}%
60556056
\begin{itemdecl}
@@ -6159,7 +6160,7 @@
61596160
\end{itemdescr}
61606161

61616162

6162-
\rSec2[bitset.members]{\tcode{bitset} members}
6163+
\rSec3[bitset.members]{\tcode{bitset} members}
61636164

61646165
\indexlibrarymember{operator\&=}{bitset}%
61656166
\begin{itemdecl}

0 commit comments

Comments
 (0)