Skip to content

Commit f3adfa0

Browse files
committed
[diagnostics] Minor spacing fixes.
Relax justification for a few awkward lines that contain extremely long trait names.
1 parent 6f60066 commit f3adfa0

File tree

1 file changed

+14
-17
lines changed

1 file changed

+14
-17
lines changed

source/diagnostics.tex

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@
11871187
// \ref{syserr.errcode.modifiers}, modifiers
11881188
void assign(int val, const error_category& cat) noexcept;
11891189
template <class ErrorCodeEnum>
1190-
error_code& operator=(ErrorCodeEnum e) noexcept;
1190+
error_code& operator=(ErrorCodeEnum e) noexcept;
11911191
void clear() noexcept;
11921192

11931193
// \ref{syserr.errcode.observers}, observers
@@ -1253,7 +1253,7 @@
12531253
\postconditions \tcode{*this == make_error_code(e)}.
12541254

12551255
\pnum
1256-
\remarks This constructor shall not participate in overload resolution unless\linebreak
1256+
\remarks \raggedright This constructor shall not participate in overload resolution unless\linebreak
12571257
\tcode{is_error_code_enum_v<ErrorCodeEnum>} is \tcode{true}.
12581258
\end{itemdescr}
12591259

@@ -1283,7 +1283,7 @@
12831283
\returns \tcode{*this}.
12841284

12851285
\pnum
1286-
\remarks This operator shall not participate in overload resolution unless\linebreak
1286+
\remarks \raggedright This operator shall not participate in overload resolution unless\linebreak
12871287
\tcode{is_error_code_enum_v<ErrorCodeEnum>} is \tcode{true}.
12881288
\end{itemdescr}
12891289

@@ -1399,7 +1399,7 @@
13991399
// \ref{syserr.errcondition.modifiers}, modifiers
14001400
void assign(int val, const error_category& cat) noexcept;
14011401
template <class ErrorConditionEnum>
1402-
error_condition& operator=(ErrorConditionEnum e) noexcept;
1402+
error_condition& operator=(ErrorConditionEnum e) noexcept;
14031403
void clear() noexcept;
14041404

14051405
// \ref{syserr.errcondition.observers}, observers
@@ -1457,7 +1457,7 @@
14571457
\postconditions \tcode{*this == make_error_condition(e)}.
14581458

14591459
\pnum
1460-
\remarks This constructor shall not participate in overload resolution unless\linebreak
1460+
\remarks \raggedright This constructor shall not participate in overload resolution unless\linebreak
14611461
\tcode{is_error_condition_enum_v<ErrorConditionEnum>} is \tcode{true}.
14621462
\end{itemdescr}
14631463

@@ -1488,7 +1488,7 @@
14881488
\returns \tcode{*this}.
14891489

14901490
\pnum
1491-
\remarks This operator shall not participate in overload resolution unless\linebreak
1491+
\remarks \raggedright This operator shall not participate in overload resolution unless\linebreak
14921492
\tcode{is_error_condition_enum_v<ErrorConditionEnum>} is \tcode{true}.
14931493
\end{itemdescr}
14941494

@@ -1663,10 +1663,11 @@
16631663
application program interfaces.
16641664

16651665
\pnum
1666-
\begin{note} If an error represents an out-of-memory condition, implementations are
1666+
\begin{note}
1667+
If an error represents an out-of-memory condition, implementations are
16671668
encouraged to throw an exception object of type \tcode{bad_alloc}~(\ref{bad.alloc}) rather
1668-
than \tcode{system_error}. \end{note}
1669-
1669+
than \tcode{system_error}.
1670+
\end{note}
16701671
\indexlibrary{\idxcode{system_error}}%
16711672
\begin{codeblock}
16721673
namespace std {
@@ -1675,10 +1676,8 @@
16751676
system_error(error_code ec, const string& what_arg);
16761677
system_error(error_code ec, const char* what_arg);
16771678
system_error(error_code ec);
1678-
system_error(int ev, const error_category& ecat,
1679-
const string& what_arg);
1680-
system_error(int ev, const error_category& ecat,
1681-
const char* what_arg);
1679+
system_error(int ev, const error_category& ecat, const string& what_arg);
1680+
system_error(int ev, const error_category& ecat, const char* what_arg);
16821681
system_error(int ev, const error_category& ecat);
16831682
const error_code& code() const noexcept;
16841683
const char* what() const noexcept override;
@@ -1733,8 +1732,7 @@
17331732

17341733
\indexlibrary{\idxcode{system_error}!constructor}%
17351734
\begin{itemdecl}
1736-
system_error(int ev, const error_category& ecat,
1737-
const string& what_arg);
1735+
system_error(int ev, const error_category& ecat, const string& what_arg);
17381736
\end{itemdecl}
17391737

17401738
\begin{itemdescr}
@@ -1749,8 +1747,7 @@
17491747

17501748
\indexlibrary{\idxcode{system_error}!constructor}%
17511749
\begin{itemdecl}
1752-
system_error(int ev, const error_category& ecat,
1753-
const char* what_arg);
1750+
system_error(int ev, const error_category& ecat, const char* what_arg);
17541751
\end{itemdecl}
17551752

17561753
\begin{itemdescr}

0 commit comments

Comments
 (0)