Skip to content

[diagnostics] review of library index #857

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

Closed
wants to merge 1 commit into from
Closed
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
21 changes: 10 additions & 11 deletions source/diagnostics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@

\rSec2[underflow.error]{Class \tcode{underflow_error}}

\indexlibrary{\idxcode{overflow_error}}%
\indexlibrary{\idxcode{underflow_error}}%
\begin{codeblock}
namespace std {
class underflow_error : public runtime_error {
Expand Down Expand Up @@ -769,6 +769,8 @@
libraries unchanged.

\rSec2[system_error.syn]{Header \tcode{<system_error>} synopsis}
\indextext{\idxhdr{system_error}}%
\indexlibrary{\idxhdr{system_error}}%
\indexlibrary{\idxcode{error_category}}%
\indexlibrary{\idxcode{error_code}}%
\indexlibrary{\idxcode{error_condition}}%
Expand Down Expand Up @@ -1044,8 +1046,7 @@
\returns \tcode{this == \&rhs}.
\end{itemdescr}

\indexlibrary{\idxcode{operator"!=}!\idxcode{error_category}}%
\indexlibrary{\idxcode{error_category}!\idxcode{operator"!=}}%
\indexlibrarymember{operator"!=}{error_category}%
\begin{itemdecl}
bool operator!=(const error_category& rhs) const noexcept;
\end{itemdecl}
Expand Down Expand Up @@ -1387,7 +1388,7 @@
error conditions. \begin{note} \tcode{error_condition} values are portable abstractions,
while \tcode{error_code} values~(\ref{syserr.errcode}) are implementation specific. \end{note}

\indexlibrary{\idxcode{error_code}}%
\indexlibrary{\idxcode{error_condition}}%
\begin{codeblock}
namespace std {
class error_condition {
Expand Down Expand Up @@ -1615,10 +1616,8 @@
\returns \tcode{lhs.category() == rhs.category() \&\& lhs.value() == rhs.value()}.
\end{itemdescr}

\indexlibrary{\idxcode{operator"!=}!\idxcode{error_code}}%
\indexlibrary{\idxcode{error_code}!\idxcode{operator"!=}}%
\indexlibrary{\idxcode{operator"!=}!\idxcode{error_condition}}%
\indexlibrary{\idxcode{error_condition}!\idxcode{operator"!=}}%
\indexlibrarymember{operator"!=}{error_code}%
\indexlibrarymember{operator"!=}{error_condition}%
\begin{itemdecl}
bool operator!=(const error_code& lhs, const error_code& rhs) noexcept;
bool operator!=(const error_code& lhs, const error_condition& rhs) noexcept;
Expand All @@ -1633,7 +1632,7 @@

\rSec2[syserr.hash]{System error hash support}

\indexlibrary{\idxcode{hash}}%
\indexlibrary{\idxcode{hash}!\idxcode{error_code}}%
\begin{itemdecl}
template <> struct hash<error_code>;
\end{itemdecl}
Expand Down Expand Up @@ -1672,7 +1671,7 @@
const char* what_arg);
system_error(int ev, const error_category& ecat);
const error_code& code() const noexcept;
const char* what() const noexcept;
const char* what() const noexcept override;
};
} // namespace std
\end{codeblock}
Expand Down Expand Up @@ -1780,7 +1779,7 @@

\indexlibrarymember{what}{system_error}%
\begin{itemdecl}
const char* what() const noexcept;
const char* what() const noexcept override;
\end{itemdecl}

\begin{itemdescr}
Expand Down