Skip to content

Commit 7bcdb21

Browse files
committed
[support] Turn synopses into numbered sections
1 parent 36c13aa commit 7bcdb21

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

source/support.tex

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,13 @@
189189
Non-arithmetic standard types, such as
190190
\tcode{complex<T>}~(\ref{complex}), shall not have specializations.
191191

192+
\rSec3[limits.syn]{Header \tcode{<limits>} synopsis}
192193
\indextext{\idxhdr{limits}}%
193194
\indexlibrary{\idxhdr{limits}}%
194195
\indextext{\idxcode{numeric_limits}}%
195196
\indexlibrary{\idxcode{numeric_limits}}%
196197
\indexlibrary{\idxcode{float_round_style}}%
197198
\indexlibrary{\idxcode{float_denorm_style}}%
198-
\rSec3[limits.syn]{Header \tcode{<limits>} synopsis}
199199

200200
\begin{codeblock}
201201
namespace std {
@@ -1171,6 +1171,7 @@
11711171
\xref ISO C~7.1.5, 5.2.4.2.2, 5.2.4.2.1.
11721172

11731173
\rSec1[cstdint]{Integer types}
1174+
11741175
\rSec2[cstdint.syn]{Header \tcode{<cstdint>} synopsis}
11751176
\indextext{\idxhdr{cstdint}}%
11761177
\indexlibrary{\idxhdr{cstdint}}%
@@ -1202,6 +1203,7 @@
12021203
\indexlibrary{\idxcode{uint_least64_t}}%
12031204
\indexlibrary{\idxcode{uintmax_t}}%
12041205
\indexlibrary{\idxcode{uintptr_t}}%
1206+
12051207
\begin{codeblock}
12061208
namespace std {
12071209
typedef @\textit{signed integer type}@ int8_t; // optional
@@ -1505,7 +1507,7 @@
15051507
functions that manage the allocation of dynamic storage in a program.
15061508
It also defines components for reporting storage management errors.
15071509

1508-
\synopsis{Header \tcode{<new>} synopsis}
1510+
\rSec2[new.syn]{Header \tcode{<new>} synopsis}
15091511
\indextext{\idxhdr{new}}%
15101512
\indexlibrary{\idxhdr{new}}%
15111513

@@ -2253,13 +2255,13 @@
22532255
type associated with type information generated by the implementation.
22542256
It also defines two types for reporting dynamic type identification errors.
22552257

2258+
\rSec2[typeinfo.syn]{Header \tcode{<typeinfo>} synopsis}
22562259
\indextext{\idxhdr{typeinfo}}%
22572260
\indexlibrary{\idxhdr{typeinfo}}%
2258-
\synopsis{Header \tcode{<typeinfo>} synopsis}
2259-
22602261
\indexlibrary{\idxcode{type_info}}%
22612262
\indexlibrary{\idxcode{bad_cast}}%
22622263
\indexlibrary{\idxcode{bad_typeid}}%
2264+
22632265
\begin{codeblock}
22642266
namespace std {
22652267
class type_info;
@@ -2523,10 +2525,10 @@
25232525
\tcode{<exception>}
25242526
defines several types and functions related to the handling of exceptions in a \Cpp program.
25252527

2526-
\synopsis{Header \tcode{<exception>} synopsis}
2527-
2528+
\rSec2[exception.syn]{Header \tcode{<exception>} synopsis}
25282529
\indextext{\idxhdr{exception}}%
25292530
\indexlibrary{\idxhdr{exception}}%
2531+
25302532
\begin{codeblock}
25312533
namespace std {
25322534
class exception;
@@ -3045,11 +3047,11 @@
30453047
The header \tcode{<initializer_list>} defines a class template and several
30463048
support functions related to list-initialization~(see \ref{dcl.init.list}).
30473049

3048-
\synopsis{Header \tcode{<initializer_list>} synopsis}
3049-
3050+
\rSec2[initializer_list.syn]{Header \tcode{<initializer_list>} synopsis}
30503051
\indexlibrary{\idxcode{initializer_list}}%
30513052
\indexlibrary{\idxcode{begin}}%
30523053
\indexlibrary{\idxcode{end}}%
3054+
30533055
\begin{codeblock}
30543056
namespace std {
30553057
template<class E> class initializer_list {

0 commit comments

Comments
 (0)