Skip to content

Fix several index entries. #483

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 7 commits into from
Nov 20, 2015
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
2 changes: 1 addition & 1 deletion source/declarators.tex
Original file line number Diff line number Diff line change
Expand Up @@ -724,10 +724,10 @@
is ``lvalue reference to \tcode{int}'',
not ``lvalue reference to \tcode{const int}''.
\exitexample
\indextext{\idxcode{void\&}}%
\enternote
A reference can be thought of as a name of an object.
\exitnote
\indextext{\idxcode{void\&}}%
A declarator that specifies the type
``reference to \textit{cv} \tcode{void}''
is ill-formed.
Expand Down
1 change: 0 additions & 1 deletion source/exceptions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@

\rSec1[except.ctor]{Constructors and destructors}%
\indextext{exception handling!constructors and destructors}%
\indextext{stack unwinding!see exception handling, constructors and destructors}%
\indextext{constructor!exception~handling|see{exception handling, constructors and destructors}}%
\indextext{destructor!exception~handling|see{exception handling, constructors and destructors}}

Expand Down
6 changes: 3 additions & 3 deletions source/grammar.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
\begin{paras}

\pnum
\index{grammar}%
\index{summary, syntax}%
\indextext{grammar}%
\indextext{summary!syntax}%
This summary of \Cpp\ syntax is intended to be an aid to comprehension.
It is not an exact statement of the language.
In particular, the grammar described here accepts
Expand All @@ -17,7 +17,7 @@
\rSec1[gram.key]{Keywords}

\pnum
\index{keyword}%
\indextext{keyword}%
New context-dependent keywords are introduced into a program by
\tcode{typedef}~(\ref{dcl.typedef}),
\tcode{namespace}~(\ref{namespace.def}),
Expand Down
2 changes: 1 addition & 1 deletion source/intro.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
\rSec0[intro]{General}

\indextext{diagnostic message|see{message, diagnostic}}%
\indexdefn{conditionally-supported behavior!see{behavior, conditionally-supported}}%
\indexdefn{conditionally-supported behavior|see{behavior, conditionally-supported}}%
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When to use indexdefn vs. indextext? Looking in macros.tex, they seem to be equivalent.

\indextext{dynamic type|see{type, dynamic}}%
\indextext{static type|see{type, static}}%
\indextext{ill-formed program|see{program, ill-formed}}%
Expand Down
4 changes: 2 additions & 2 deletions source/lex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@

\rSec1[lex.ppnumber]{Preprocessing numbers}

\index{number!preprocessing|(}%
\indextext{number!preprocessing|(}%
\begin{bnf}
\nontermdef{pp-number}\br
digit\br
Expand All @@ -509,7 +509,7 @@
A preprocessing number does not have a type or a value; it acquires both
after a successful conversion to an integer literal token or a floating literal
token.%
\index{number!preprocessing|)}
\indextext{number!preprocessing|)}

\rSec1[lex.name]{Identifiers}

Expand Down
2 changes: 1 addition & 1 deletion source/lib-intro.tex
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
place a thread in the blocked state

\definition{blocked thread}{defns.blocked}
\indexdefn{thread, blocked}%
\indexdefn{thread!blocked}%
a thread that is waiting for some condition (other than the availability of a processor) to be
satisfied before it can continue execution\footnote{This definition is taken from POSIX.}

Expand Down
2 changes: 1 addition & 1 deletion source/overloading.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2623,7 +2623,7 @@

\rSec1[over.over]{Address of overloaded function}%
\indextext{overloading!address of overloaded function}%
\indextext{overloadedfunction!address~of}
\indextext{overloaded~function!address~of}

\pnum
A use of an overloaded function name without arguments is resolved
Expand Down
4 changes: 2 additions & 2 deletions source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -12468,7 +12468,7 @@
\tcode{time_point}.
It is implementation defined whether values are rounded or truncated to the
required precision.\indeximpldef{whether values are rounded or truncated to the
required precision when converting between \tcode{time_t} values and \tcode{time_point} objects.}
required precision when converting between \tcode{time_t} values and \tcode{time_point} objects}
\end{itemdescr}

\indexlibrary{\idxcode{from_time_t}}%
Expand All @@ -12483,7 +12483,7 @@
\tcode{time_point}.
It is implementation defined whether values are rounded or truncated to the
required precision.\indeximpldef{whether values are rounded or truncated to the
required precision when converting between \tcode{time_t} values and \tcode{time_point} objects.}
required precision when converting between \tcode{time_t} values and \tcode{time_point} objects}
\end{itemdescr}

\rSec3[time.clock.steady]{Class \tcode{steady_clock}}
Expand Down