|
54 | 54 | \indexlibrary{\idxcode{domain_error}}%
|
55 | 55 | \indexlibrary{\idxcode{invalid_argument}}%
|
56 | 56 | \indexlibrary{\idxcode{length_error}}%
|
57 |
| -\indexlibrary{\idxcode{out_of_range_error}}% |
| 57 | +\indexlibrary{\idxcode{out_of_range}}% |
58 | 58 | \indexlibrary{\idxcode{runtime_error}}%
|
59 | 59 | \indexlibrary{\idxcode{range_error}}%
|
60 | 60 | \indexlibrary{\idxcode{overflow_error}}%
|
|
95 | 95 | the program executes, such as violations of logical preconditions or class
|
96 | 96 | invariants.
|
97 | 97 |
|
98 |
| -\indexlibrary{\idxcode{logic_error}!\tcode{logic_error}}% |
| 98 | +\indexlibrary{\idxcode{logic_error}!constructor}% |
99 | 99 | \begin{itemdecl}
|
100 | 100 | logic_error(const string& what_arg);
|
101 | 101 | \end{itemdecl}
|
|
111 | 111 | \tcode{strcmp(what(), what_arg.c_str()) == 0}.
|
112 | 112 | \end{itemdescr}
|
113 | 113 |
|
114 |
| -\indexlibrary{\idxcode{logic_error}!\tcode{logic_error}}% |
| 114 | +\indexlibrary{\idxcode{logic_error}!constructor}% |
115 | 115 | \begin{itemdecl}
|
116 | 116 | logic_error(const char* what_arg);
|
117 | 117 | \end{itemdecl}
|
|
146 | 146 | defines the type of objects thrown as
|
147 | 147 | exceptions by the implementation to report domain errors.
|
148 | 148 |
|
149 |
| -\indexlibrary{\idxcode{domain_error}!\tcode{domain_error}}% |
| 149 | +\indexlibrary{\idxcode{domain_error}!constructor}% |
150 | 150 | \begin{itemdecl}
|
151 | 151 | domain_error(const string& what_arg);
|
152 | 152 | \end{itemdecl}
|
|
162 | 162 | \tcode{strcmp(what(), what_arg.c_str()) == 0}.
|
163 | 163 | \end{itemdescr}
|
164 | 164 |
|
165 |
| -\indexlibrary{\idxcode{domain_error}!\tcode{domain_error}}% |
| 165 | +\indexlibrary{\idxcode{domain_error}!constructor}% |
166 | 166 | \begin{itemdecl}
|
167 | 167 | domain_error(const char* what_arg);
|
168 | 168 | \end{itemdecl}
|
|
196 | 196 | \tcode{invalid_argument}
|
197 | 197 | defines the type of objects thrown as exceptions to report an invalid argument.
|
198 | 198 |
|
199 |
| -\indexlibrary{\idxcode{invalid_argument}!\tcode{invalid_argument}}% |
| 199 | +\indexlibrary{\idxcode{invalid_argument}!constructor}% |
200 | 200 | \begin{itemdecl}
|
201 | 201 | invalid_argument(const string& what_arg);
|
202 | 202 | \end{itemdecl}
|
|
212 | 212 | \tcode{strcmp(what(), what_arg.c_str()) == 0}.
|
213 | 213 | \end{itemdescr}
|
214 | 214 |
|
215 |
| -\indexlibrary{\idxcode{invalid_argument}!\tcode{invalid_argument}}% |
| 215 | +\indexlibrary{\idxcode{invalid_argument}!constructor}% |
216 | 216 | \begin{itemdecl}
|
217 | 217 | invalid_argument(const char* what_arg);
|
218 | 218 | \end{itemdecl}
|
|
248 | 248 | to report an attempt to produce
|
249 | 249 | an object whose length exceeds its maximum allowable size.
|
250 | 250 |
|
251 |
| -\indexlibrary{\idxcode{length_error}!\tcode{length_error}}% |
| 251 | +\indexlibrary{\idxcode{length_error}!constructor}% |
252 | 252 | \begin{itemdecl}
|
253 | 253 | length_error(const string& what_arg);
|
254 | 254 | \end{itemdecl}
|
|
264 | 264 | \tcode{strcmp(what(), what_arg.c_str()) == 0}.
|
265 | 265 | \end{itemdescr}
|
266 | 266 |
|
267 |
| -\indexlibrary{\idxcode{length_error}!\tcode{length_error}}% |
| 267 | +\indexlibrary{\idxcode{length_error}!constructor}% |
268 | 268 | \begin{itemdecl}
|
269 | 269 | length_error(const char* what_arg);
|
270 | 270 | \end{itemdecl}
|
|
300 | 300 | argument value not in its expected range.
|
301 | 301 | \indextext{argument}
|
302 | 302 |
|
303 |
| -\indexlibrary{\idxcode{out_of_range}!\tcode{out_of_range}}% |
| 303 | +\indexlibrary{\idxcode{out_of_range}!constructor}% |
304 | 304 | \begin{itemdecl}
|
305 | 305 | out_of_range(const string& what_arg);
|
306 | 306 | \end{itemdecl}
|
|
316 | 316 | \tcode{strcmp(what(), what_arg.c_str()) == 0}.
|
317 | 317 | \end{itemdescr}
|
318 | 318 |
|
319 |
| -\indexlibrary{\idxcode{out_of_range}!\tcode{out_of_range}}% |
| 319 | +\indexlibrary{\idxcode{out_of_range}!constructor}% |
320 | 320 | \begin{itemdecl}
|
321 | 321 | out_of_range(const char* what_arg);
|
322 | 322 | \end{itemdecl}
|
|
351 | 351 | defines the type of objects thrown as exceptions to report errors presumably detectable only
|
352 | 352 | when the program executes.
|
353 | 353 |
|
354 |
| -\indexlibrary{\idxcode{runtime_error}!\tcode{runtime_error}}% |
| 354 | +\indexlibrary{\idxcode{runtime_error}!constructor}% |
355 | 355 | \begin{itemdecl}
|
356 | 356 | runtime_error(const string& what_arg);
|
357 | 357 | \end{itemdecl}
|
|
367 | 367 | \tcode{strcmp(what(), what_arg.c_str()) == 0}.
|
368 | 368 | \end{itemdescr}
|
369 | 369 |
|
370 |
| -\indexlibrary{\idxcode{runtime_error}!\tcode{runtime_error}}% |
| 370 | +\indexlibrary{\idxcode{runtime_error}!constructor}% |
371 | 371 | \begin{itemdecl}
|
372 | 372 | runtime_error(const char* what_arg);
|
373 | 373 | \end{itemdecl}
|
|
402 | 402 | defines the type of objects thrown as exceptions to report range errors
|
403 | 403 | in internal computations.
|
404 | 404 |
|
405 |
| -\indexlibrary{\idxcode{range_error}!\tcode{range_error}}% |
| 405 | +\indexlibrary{\idxcode{range_error}!constructor}% |
406 | 406 | \begin{itemdecl}
|
407 | 407 | range_error(const string& what_arg);
|
408 | 408 | \end{itemdecl}
|
|
418 | 418 | \tcode{strcmp(what(), what_arg.c_str()) == 0}.
|
419 | 419 | \end{itemdescr}
|
420 | 420 |
|
421 |
| -\indexlibrary{\idxcode{range_error}!\tcode{range_error}}% |
| 421 | +\indexlibrary{\idxcode{range_error}!constructor}% |
422 | 422 | \begin{itemdecl}
|
423 | 423 | range_error(const char* what_arg);
|
424 | 424 | \end{itemdecl}
|
|
452 | 452 | \tcode{overflow_error}
|
453 | 453 | defines the type of objects thrown as exceptions to report an arithmetic overflow error.
|
454 | 454 |
|
455 |
| -\indexlibrary{\idxcode{overflow_error}!\tcode{overflow_error}}% |
| 455 | +\indexlibrary{\idxcode{overflow_error}!constructor}% |
456 | 456 | \begin{itemdecl}
|
457 | 457 | overflow_error(const string& what_arg);
|
458 | 458 | \end{itemdecl}
|
|
468 | 468 | \tcode{strcmp(what(), what_arg.c_str()) == 0}.
|
469 | 469 | \end{itemdescr}
|
470 | 470 |
|
471 |
| -\indexlibrary{\idxcode{overflow_error}!\tcode{overflow_error}}% |
| 471 | +\indexlibrary{\idxcode{overflow_error}!constructor}% |
472 | 472 | \begin{itemdecl}
|
473 | 473 | overflow_error(const char* what_arg);
|
474 | 474 | \end{itemdecl}
|
|
502 | 502 | \tcode{underflow_error}
|
503 | 503 | defines the type of objects thrown as exceptions to report an arithmetic underflow error.
|
504 | 504 |
|
505 |
| -\indexlibrary{\idxcode{underflow_error}!\tcode{underflow_error}}% |
| 505 | +\indexlibrary{\idxcode{underflow_error}!constructor}% |
506 | 506 | \begin{itemdecl}
|
507 | 507 | underflow_error(const string& what_arg);
|
508 | 508 | \end{itemdecl}
|
|
518 | 518 | \tcode{strcmp(what(), what_arg.c_str()) == 0}.
|
519 | 519 | \end{itemdescr}
|
520 | 520 |
|
521 |
| -\indexlibrary{\idxcode{underflow_error}!\tcode{underflow_error}}% |
| 521 | +\indexlibrary{\idxcode{underflow_error}!constructor}% |
522 | 522 | \begin{itemdecl}
|
523 | 523 | underflow_error(const char* what_arg);
|
524 | 524 | \end{itemdecl}
|
|
1126 | 1126 |
|
1127 | 1127 | \rSec3[syserr.errcode.constructors]{Class \tcode{error_code} constructors}
|
1128 | 1128 |
|
1129 |
| -\indexlibrary{\idxcode{error_code}!\idxcode{error_code}} |
1130 |
| -\indexlibrary{\idxcode{error_code}!\idxcode{error_code}} |
| 1129 | +\indexlibrary{\idxcode{error_code}!constructor} |
1131 | 1130 | \begin{itemdecl}
|
1132 | 1131 | error_code() noexcept;
|
1133 | 1132 | \end{itemdecl}
|
|
1140 | 1139 | \postconditions \tcode{val_ == 0} and \tcode{cat_ == \&system_category()}.
|
1141 | 1140 | \end{itemdescr}
|
1142 | 1141 |
|
1143 |
| -\indexlibrary{\idxcode{error_code}!\idxcode{error_code}} |
1144 |
| -\indexlibrary{\idxcode{error_code}!\idxcode{error_code}} |
| 1142 | +\indexlibrary{\idxcode{error_code}!constructor} |
1145 | 1143 | \begin{itemdecl}
|
1146 | 1144 | error_code(int val, const error_category& cat) noexcept;
|
1147 | 1145 | \end{itemdecl}
|
|
1154 | 1152 | \postconditions \tcode{val_ == val} and \tcode{cat_ == \&cat}.
|
1155 | 1153 | \end{itemdescr}
|
1156 | 1154 |
|
1157 |
| -\indexlibrary{\idxcode{error_code}!\idxcode{error_code}} |
1158 |
| -\indexlibrary{\idxcode{error_code}!\idxcode{error_code}} |
| 1155 | +\indexlibrary{\idxcode{error_code}!constructor} |
1159 | 1156 | \begin{itemdecl}
|
1160 | 1157 | template <class ErrorCodeEnum>
|
1161 | 1158 | error_code(ErrorCodeEnum e) noexcept;
|
|
1631 | 1628 |
|
1632 | 1629 | \rSec3[syserr.syserr.members]{Class \tcode{system_error} members}
|
1633 | 1630 |
|
1634 |
| -\indexlibrary{\idxcode{system_error}!\idxcode{system_error}} |
1635 |
| -\indexlibrary{\idxcode{system_error}!\idxcode{system_error}} |
| 1631 | +\indexlibrary{\idxcode{system_error}!constructor} |
1636 | 1632 | \begin{itemdecl}
|
1637 | 1633 | system_error(error_code ec, const string& what_arg);
|
1638 | 1634 | \end{itemdecl}
|
|
1647 | 1643 | \tcode{string(what()).find(what_arg) != string::npos}.
|
1648 | 1644 | \end{itemdescr}
|
1649 | 1645 |
|
1650 |
| -\indexlibrary{\idxcode{system_error}!\idxcode{system_error}} |
1651 |
| -\indexlibrary{\idxcode{system_error}!\idxcode{system_error}} |
| 1646 | +\indexlibrary{\idxcode{system_error}!constructor} |
1652 | 1647 | \begin{itemdecl}
|
1653 | 1648 | system_error(error_code ec, const char* what_arg);
|
1654 | 1649 | \end{itemdecl}
|
|
1663 | 1658 | \tcode{string(what()).find(what_arg) != string::npos}.
|
1664 | 1659 | \end{itemdescr}
|
1665 | 1660 |
|
1666 |
| -\indexlibrary{\idxcode{system_error}!\idxcode{system_error}} |
1667 |
| -\indexlibrary{\idxcode{system_error}!\idxcode{system_error}} |
| 1661 | +\indexlibrary{\idxcode{system_error}!constructor} |
1668 | 1662 | \begin{itemdecl}
|
1669 | 1663 | system_error(error_code ec);
|
1670 | 1664 | \end{itemdecl}
|
|
1677 | 1671 | \postconditions \tcode{code() == ec}.
|
1678 | 1672 | \end{itemdescr}
|
1679 | 1673 |
|
1680 |
| -\indexlibrary{\idxcode{system_error}!\idxcode{system_error}} |
1681 |
| -\indexlibrary{\idxcode{system_error}!\idxcode{system_error}} |
| 1674 | +\indexlibrary{\idxcode{system_error}!constructor} |
1682 | 1675 | \begin{itemdecl}
|
1683 | 1676 | system_error(int ev, const error_category& ecat,
|
1684 | 1677 | const string& what_arg);
|
|
1694 | 1687 | \tcode{string(what()).find(what_arg) != string::npos}.
|
1695 | 1688 | \end{itemdescr}
|
1696 | 1689 |
|
1697 |
| -\indexlibrary{\idxcode{system_error}!\idxcode{system_error}} |
1698 |
| -\indexlibrary{\idxcode{system_error}!\idxcode{system_error}} |
| 1690 | +\indexlibrary{\idxcode{system_error}!constructor} |
1699 | 1691 | \begin{itemdecl}
|
1700 | 1692 | system_error(int ev, const error_category& ecat,
|
1701 | 1693 | const char* what_arg);
|
|
1711 | 1703 | \tcode{string(what()).find(what_arg) != string::npos}.
|
1712 | 1704 | \end{itemdescr}
|
1713 | 1705 |
|
1714 |
| -\indexlibrary{\idxcode{system_error}!\idxcode{system_error}} |
1715 |
| -\indexlibrary{\idxcode{system_error}!\idxcode{system_error}} |
| 1706 | +\indexlibrary{\idxcode{system_error}!constructor} |
1716 | 1707 | \begin{itemdecl}
|
1717 | 1708 | system_error(int ev, const error_category& ecat);
|
1718 | 1709 | \end{itemdecl}
|
|
0 commit comments