|
1187 | 1187 | // \ref{syserr.errcode.modifiers}, modifiers |
1188 | 1188 | void assign(int val, const error_category& cat) noexcept; |
1189 | 1189 | template <class ErrorCodeEnum> |
1190 | | - error_code& operator=(ErrorCodeEnum e) noexcept; |
| 1190 | + error_code& operator=(ErrorCodeEnum e) noexcept; |
1191 | 1191 | void clear() noexcept; |
1192 | 1192 |
|
1193 | 1193 | // \ref{syserr.errcode.observers}, observers |
|
1253 | 1253 | \postconditions \tcode{*this == make_error_code(e)}. |
1254 | 1254 |
|
1255 | 1255 | \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 |
1257 | 1257 | \tcode{is_error_code_enum_v<ErrorCodeEnum>} is \tcode{true}. |
1258 | 1258 | \end{itemdescr} |
1259 | 1259 |
|
|
1283 | 1283 | \returns \tcode{*this}. |
1284 | 1284 |
|
1285 | 1285 | \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 |
1287 | 1287 | \tcode{is_error_code_enum_v<ErrorCodeEnum>} is \tcode{true}. |
1288 | 1288 | \end{itemdescr} |
1289 | 1289 |
|
|
1399 | 1399 | // \ref{syserr.errcondition.modifiers}, modifiers |
1400 | 1400 | void assign(int val, const error_category& cat) noexcept; |
1401 | 1401 | template <class ErrorConditionEnum> |
1402 | | - error_condition& operator=(ErrorConditionEnum e) noexcept; |
| 1402 | + error_condition& operator=(ErrorConditionEnum e) noexcept; |
1403 | 1403 | void clear() noexcept; |
1404 | 1404 |
|
1405 | 1405 | // \ref{syserr.errcondition.observers}, observers |
|
1457 | 1457 | \postconditions \tcode{*this == make_error_condition(e)}. |
1458 | 1458 |
|
1459 | 1459 | \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 |
1461 | 1461 | \tcode{is_error_condition_enum_v<ErrorConditionEnum>} is \tcode{true}. |
1462 | 1462 | \end{itemdescr} |
1463 | 1463 |
|
|
1488 | 1488 | \returns \tcode{*this}. |
1489 | 1489 |
|
1490 | 1490 | \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 |
1492 | 1492 | \tcode{is_error_condition_enum_v<ErrorConditionEnum>} is \tcode{true}. |
1493 | 1493 | \end{itemdescr} |
1494 | 1494 |
|
|
1663 | 1663 | application program interfaces. |
1664 | 1664 |
|
1665 | 1665 | \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 |
1667 | 1668 | 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} |
1670 | 1671 | \indexlibrary{\idxcode{system_error}}% |
1671 | 1672 | \begin{codeblock} |
1672 | 1673 | namespace std { |
|
1675 | 1676 | system_error(error_code ec, const string& what_arg); |
1676 | 1677 | system_error(error_code ec, const char* what_arg); |
1677 | 1678 | 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); |
1682 | 1681 | system_error(int ev, const error_category& ecat); |
1683 | 1682 | const error_code& code() const noexcept; |
1684 | 1683 | const char* what() const noexcept override; |
|
1733 | 1732 |
|
1734 | 1733 | \indexlibrary{\idxcode{system_error}!constructor}% |
1735 | 1734 | \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); |
1738 | 1736 | \end{itemdecl} |
1739 | 1737 |
|
1740 | 1738 | \begin{itemdescr} |
|
1749 | 1747 |
|
1750 | 1748 | \indexlibrary{\idxcode{system_error}!constructor}% |
1751 | 1749 | \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); |
1754 | 1751 | \end{itemdecl} |
1755 | 1752 |
|
1756 | 1753 | \begin{itemdescr} |
|
0 commit comments