Skip to content

[18-28] Fix index entry for constructors #740

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 46 additions & 52 deletions source/containers.tex

Large diffs are not rendered by default.

65 changes: 28 additions & 37 deletions source/diagnostics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
\indexlibrary{\idxcode{domain_error}}%
\indexlibrary{\idxcode{invalid_argument}}%
\indexlibrary{\idxcode{length_error}}%
\indexlibrary{\idxcode{out_of_range_error}}%
\indexlibrary{\idxcode{out_of_range}}%
\indexlibrary{\idxcode{runtime_error}}%
\indexlibrary{\idxcode{range_error}}%
\indexlibrary{\idxcode{overflow_error}}%
Expand Down Expand Up @@ -95,7 +95,7 @@
the program executes, such as violations of logical preconditions or class
invariants.

\indexlibrary{\idxcode{logic_error}!\tcode{logic_error}}%
\indexlibrary{\idxcode{logic_error}!constructor}%
\begin{itemdecl}
logic_error(const string& what_arg);
\end{itemdecl}
Expand All @@ -111,7 +111,7 @@
\tcode{strcmp(what(), what_arg.c_str()) == 0}.
\end{itemdescr}

\indexlibrary{\idxcode{logic_error}!\tcode{logic_error}}%
\indexlibrary{\idxcode{logic_error}!constructor}%
\begin{itemdecl}
logic_error(const char* what_arg);
\end{itemdecl}
Expand Down Expand Up @@ -146,7 +146,7 @@
defines the type of objects thrown as
exceptions by the implementation to report domain errors.

\indexlibrary{\idxcode{domain_error}!\tcode{domain_error}}%
\indexlibrary{\idxcode{domain_error}!constructor}%
\begin{itemdecl}
domain_error(const string& what_arg);
\end{itemdecl}
Expand All @@ -162,7 +162,7 @@
\tcode{strcmp(what(), what_arg.c_str()) == 0}.
\end{itemdescr}

\indexlibrary{\idxcode{domain_error}!\tcode{domain_error}}%
\indexlibrary{\idxcode{domain_error}!constructor}%
\begin{itemdecl}
domain_error(const char* what_arg);
\end{itemdecl}
Expand Down Expand Up @@ -196,7 +196,7 @@
\tcode{invalid_argument}
defines the type of objects thrown as exceptions to report an invalid argument.

\indexlibrary{\idxcode{invalid_argument}!\tcode{invalid_argument}}%
\indexlibrary{\idxcode{invalid_argument}!constructor}%
\begin{itemdecl}
invalid_argument(const string& what_arg);
\end{itemdecl}
Expand All @@ -212,7 +212,7 @@
\tcode{strcmp(what(), what_arg.c_str()) == 0}.
\end{itemdescr}

\indexlibrary{\idxcode{invalid_argument}!\tcode{invalid_argument}}%
\indexlibrary{\idxcode{invalid_argument}!constructor}%
\begin{itemdecl}
invalid_argument(const char* what_arg);
\end{itemdecl}
Expand Down Expand Up @@ -248,7 +248,7 @@
to report an attempt to produce
an object whose length exceeds its maximum allowable size.

\indexlibrary{\idxcode{length_error}!\tcode{length_error}}%
\indexlibrary{\idxcode{length_error}!constructor}%
\begin{itemdecl}
length_error(const string& what_arg);
\end{itemdecl}
Expand All @@ -264,7 +264,7 @@
\tcode{strcmp(what(), what_arg.c_str()) == 0}.
\end{itemdescr}

\indexlibrary{\idxcode{length_error}!\tcode{length_error}}%
\indexlibrary{\idxcode{length_error}!constructor}%
\begin{itemdecl}
length_error(const char* what_arg);
\end{itemdecl}
Expand Down Expand Up @@ -300,7 +300,7 @@
argument value not in its expected range.
\indextext{argument}

\indexlibrary{\idxcode{out_of_range}!\tcode{out_of_range}}%
\indexlibrary{\idxcode{out_of_range}!constructor}%
\begin{itemdecl}
out_of_range(const string& what_arg);
\end{itemdecl}
Expand All @@ -316,7 +316,7 @@
\tcode{strcmp(what(), what_arg.c_str()) == 0}.
\end{itemdescr}

\indexlibrary{\idxcode{out_of_range}!\tcode{out_of_range}}%
\indexlibrary{\idxcode{out_of_range}!constructor}%
\begin{itemdecl}
out_of_range(const char* what_arg);
\end{itemdecl}
Expand Down Expand Up @@ -351,7 +351,7 @@
defines the type of objects thrown as exceptions to report errors presumably detectable only
when the program executes.

\indexlibrary{\idxcode{runtime_error}!\tcode{runtime_error}}%
\indexlibrary{\idxcode{runtime_error}!constructor}%
\begin{itemdecl}
runtime_error(const string& what_arg);
\end{itemdecl}
Expand All @@ -367,7 +367,7 @@
\tcode{strcmp(what(), what_arg.c_str()) == 0}.
\end{itemdescr}

\indexlibrary{\idxcode{runtime_error}!\tcode{runtime_error}}%
\indexlibrary{\idxcode{runtime_error}!constructor}%
\begin{itemdecl}
runtime_error(const char* what_arg);
\end{itemdecl}
Expand Down Expand Up @@ -402,7 +402,7 @@
defines the type of objects thrown as exceptions to report range errors
in internal computations.

\indexlibrary{\idxcode{range_error}!\tcode{range_error}}%
\indexlibrary{\idxcode{range_error}!constructor}%
\begin{itemdecl}
range_error(const string& what_arg);
\end{itemdecl}
Expand All @@ -418,7 +418,7 @@
\tcode{strcmp(what(), what_arg.c_str()) == 0}.
\end{itemdescr}

\indexlibrary{\idxcode{range_error}!\tcode{range_error}}%
\indexlibrary{\idxcode{range_error}!constructor}%
\begin{itemdecl}
range_error(const char* what_arg);
\end{itemdecl}
Expand Down Expand Up @@ -452,7 +452,7 @@
\tcode{overflow_error}
defines the type of objects thrown as exceptions to report an arithmetic overflow error.

\indexlibrary{\idxcode{overflow_error}!\tcode{overflow_error}}%
\indexlibrary{\idxcode{overflow_error}!constructor}%
\begin{itemdecl}
overflow_error(const string& what_arg);
\end{itemdecl}
Expand All @@ -468,7 +468,7 @@
\tcode{strcmp(what(), what_arg.c_str()) == 0}.
\end{itemdescr}

\indexlibrary{\idxcode{overflow_error}!\tcode{overflow_error}}%
\indexlibrary{\idxcode{overflow_error}!constructor}%
\begin{itemdecl}
overflow_error(const char* what_arg);
\end{itemdecl}
Expand Down Expand Up @@ -502,7 +502,7 @@
\tcode{underflow_error}
defines the type of objects thrown as exceptions to report an arithmetic underflow error.

\indexlibrary{\idxcode{underflow_error}!\tcode{underflow_error}}%
\indexlibrary{\idxcode{underflow_error}!constructor}%
\begin{itemdecl}
underflow_error(const string& what_arg);
\end{itemdecl}
Expand All @@ -518,7 +518,7 @@
\tcode{strcmp(what(), what_arg.c_str()) == 0}.
\end{itemdescr}

\indexlibrary{\idxcode{underflow_error}!\tcode{underflow_error}}%
\indexlibrary{\idxcode{underflow_error}!constructor}%
\begin{itemdecl}
underflow_error(const char* what_arg);
\end{itemdecl}
Expand Down Expand Up @@ -1126,8 +1126,7 @@

\rSec3[syserr.errcode.constructors]{Class \tcode{error_code} constructors}

\indexlibrary{\idxcode{error_code}!\idxcode{error_code}}
\indexlibrary{\idxcode{error_code}!\idxcode{error_code}}
\indexlibrary{\idxcode{error_code}!constructor}
\begin{itemdecl}
error_code() noexcept;
\end{itemdecl}
Expand All @@ -1140,8 +1139,7 @@
\postconditions \tcode{val_ == 0} and \tcode{cat_ == \&system_category()}.
\end{itemdescr}

\indexlibrary{\idxcode{error_code}!\idxcode{error_code}}
\indexlibrary{\idxcode{error_code}!\idxcode{error_code}}
\indexlibrary{\idxcode{error_code}!constructor}
\begin{itemdecl}
error_code(int val, const error_category& cat) noexcept;
\end{itemdecl}
Expand All @@ -1154,8 +1152,7 @@
\postconditions \tcode{val_ == val} and \tcode{cat_ == \&cat}.
\end{itemdescr}

\indexlibrary{\idxcode{error_code}!\idxcode{error_code}}
\indexlibrary{\idxcode{error_code}!\idxcode{error_code}}
\indexlibrary{\idxcode{error_code}!constructor}
\begin{itemdecl}
template <class ErrorCodeEnum>
error_code(ErrorCodeEnum e) noexcept;
Expand Down Expand Up @@ -1631,8 +1628,7 @@

\rSec3[syserr.syserr.members]{Class \tcode{system_error} members}

\indexlibrary{\idxcode{system_error}!\idxcode{system_error}}
\indexlibrary{\idxcode{system_error}!\idxcode{system_error}}
\indexlibrary{\idxcode{system_error}!constructor}
\begin{itemdecl}
system_error(error_code ec, const string& what_arg);
\end{itemdecl}
Expand All @@ -1647,8 +1643,7 @@
\tcode{string(what()).find(what_arg) != string::npos}.
\end{itemdescr}

\indexlibrary{\idxcode{system_error}!\idxcode{system_error}}
\indexlibrary{\idxcode{system_error}!\idxcode{system_error}}
\indexlibrary{\idxcode{system_error}!constructor}
\begin{itemdecl}
system_error(error_code ec, const char* what_arg);
\end{itemdecl}
Expand All @@ -1663,8 +1658,7 @@
\tcode{string(what()).find(what_arg) != string::npos}.
\end{itemdescr}

\indexlibrary{\idxcode{system_error}!\idxcode{system_error}}
\indexlibrary{\idxcode{system_error}!\idxcode{system_error}}
\indexlibrary{\idxcode{system_error}!constructor}
\begin{itemdecl}
system_error(error_code ec);
\end{itemdecl}
Expand All @@ -1677,8 +1671,7 @@
\postconditions \tcode{code() == ec}.
\end{itemdescr}

\indexlibrary{\idxcode{system_error}!\idxcode{system_error}}
\indexlibrary{\idxcode{system_error}!\idxcode{system_error}}
\indexlibrary{\idxcode{system_error}!constructor}
\begin{itemdecl}
system_error(int ev, const error_category& ecat,
const string& what_arg);
Expand All @@ -1694,8 +1687,7 @@
\tcode{string(what()).find(what_arg) != string::npos}.
\end{itemdescr}

\indexlibrary{\idxcode{system_error}!\idxcode{system_error}}
\indexlibrary{\idxcode{system_error}!\idxcode{system_error}}
\indexlibrary{\idxcode{system_error}!constructor}
\begin{itemdecl}
system_error(int ev, const error_category& ecat,
const char* what_arg);
Expand All @@ -1711,8 +1703,7 @@
\tcode{string(what()).find(what_arg) != string::npos}.
\end{itemdescr}

\indexlibrary{\idxcode{system_error}!\idxcode{system_error}}
\indexlibrary{\idxcode{system_error}!\idxcode{system_error}}
\indexlibrary{\idxcode{system_error}!constructor}
\begin{itemdecl}
system_error(int ev, const error_category& ecat);
\end{itemdecl}
Expand Down
13 changes: 7 additions & 6 deletions source/future.tex
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@

\rSec3[depr.strstreambuf.cons]{\tcode{strstreambuf} constructors}

\indexlibrary{\idxcode{strstreambuf}!\tcode{strstreambuf}}%
\indexlibrary{\idxcode{strstreambuf}!constructor}%
\begin{itemdecl}
explicit strstreambuf(streamsize alsize_arg = 0);
\end{itemdecl}
Expand All @@ -255,7 +255,7 @@
\tcode{pfree} & a null pointer \\
\end{libtab2}

\indexlibrary{\idxcode{strstreambuf}}%
\indexlibrary{\idxcode{strstreambuf}!constructor}%
\begin{itemdecl}
strstreambuf(void* (*palloc_arg)(size_t), void (*pfree_arg)(void*));
\end{itemdecl}
Expand All @@ -281,6 +281,7 @@
\end{itemdescr}

\indextext{unspecified}%
\indexlibrary{\idxcode{strstreambuf}!constructor}%
\begin{itemdecl}
strstreambuf(char* gnext_arg, streamsize n, char* pbeg_arg = 0);
strstreambuf(signed char* gnext_arg, streamsize n,
Expand Down Expand Up @@ -786,7 +787,7 @@

\rSec3[depr.istrstream.cons]{\tcode{istrstream} constructors}

\indexlibrary{\idxcode{istrstream}!\idxcode{istrstream}}%
\indexlibrary{\idxcode{istrstream}!constructor}%
\begin{itemdecl}
explicit istrstream(const char* s);
explicit istrstream(char* s);
Expand Down Expand Up @@ -885,7 +886,7 @@

\rSec3[depr.ostrstream.cons]{\tcode{ostrstream} constructors}

\indexlibrary{\idxcode{ostrstream}!\idxcode{ostrstream}}%
\indexlibrary{\idxcode{ostrstream}!constructor}%
\begin{itemdecl}
ostrstream();
\end{itemdecl}
Expand Down Expand Up @@ -1036,7 +1037,7 @@

\rSec3[depr.strstream.cons]{\tcode{strstream} constructors}

\indexlibrary{\idxcode{strstream}!\idxcode{strstream}}%
\indexlibrary{\idxcode{strstream}!constructor}%
\begin{itemdecl}
strstream();
\end{itemdecl}
Expand All @@ -1050,7 +1051,7 @@
\tcode{iostream(\&sb)}.
\end{itemdescr}

\indexlibrary{\idxcode{strstream}!\idxcode{strstream}}%
\indexlibrary{\idxcode{strstream}!constructor}%
\begin{itemdecl}
strstream(char* s, int n,
ios_base::openmode mode = ios_base::in|ios_base::out);
Expand Down
Loading