Skip to content

Commit 3449445

Browse files
committed
[diagnostics] Turn synopses into numbered sections
1 parent 7bcdb21 commit 3449445

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/diagnostics.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@
4848
defines several types of predefined exceptions for reporting errors in a \Cpp program.
4949
These exceptions are related by inheritance.
5050

51-
\synopsis{Header \tcode{<stdexcept>} synopsis}
52-
51+
\rSec2[stdexcept.syn]{Header \tcode{<stdexcept>} synopsis}
5352
\indexlibrary{\idxhdr{stdexcept}}%
5453
\indexlibrary{\idxcode{logic_error}}%
5554
\indexlibrary{\idxcode{domain_error}}%
@@ -60,6 +59,7 @@
6059
\indexlibrary{\idxcode{range_error}}%
6160
\indexlibrary{\idxcode{overflow_error}}%
6261
\indexlibrary{\idxcode{underflow_error}}%
62+
6363
\begin{codeblock}
6464
namespace std {
6565
class logic_error;
@@ -681,8 +681,7 @@
681681
Implementations should leave the error states provided by other
682682
libraries unchanged.
683683

684-
\synopsis{Header \tcode{<system_error>} synopsis}
685-
684+
\rSec2[system_error.syn]{Header \tcode{<system_error>} synopsis}
686685
\indexlibrary{\idxcode{error_category}}%
687686
\indexlibrary{\idxcode{error_code}}%
688687
\indexlibrary{\idxcode{error_condition}}%
@@ -692,6 +691,7 @@
692691
\indexlibrary{\idxcode{errc}}%
693692
\indexlibrary{\idxcode{make_error_code}}%
694693
\indexlibrary{\idxcode{make_error_condition}}%
694+
695695
\begin{codeblock}
696696
namespace std {
697697
class error_category;

0 commit comments

Comments
 (0)