Skip to content

Commit 05fd470

Browse files
jensmaurertkoeppe
authored andcommitted
Remove tildes from \indextext arguments.
1 parent b0fd079 commit 05fd470

18 files changed

+650
-650
lines changed

source/access.tex

+17-17
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
\end{example}
166166

167167
\pnum
168-
\indextext{argument!access checking~and default}%
168+
\indextext{argument!access checking and default}%
169169
\indextext{access control!default argument}%
170170
The names in a default argument~(\ref{dcl.fct.default}) are
171171
bound at the point of declaration, and access is checked at that
@@ -192,7 +192,7 @@
192192
\end{example}
193193

194194
\rSec1[class.access.spec]{Access specifiers}%
195-
\indextext{access~specifier}
195+
\indextext{access specifier}
196196

197197
\pnum
198198
Member declarations can be labeled by an
@@ -279,11 +279,11 @@
279279
\end{example}
280280

281281
\rSec1[class.access.base]{Accessibility of base classes and base class members}%
282-
\indextext{access control!base~class}%
283-
\indextext{access~specifier}%
284-
\indextext{base~class!\idxcode{private}}%
285-
\indextext{base~class!\idxcode{protected}}%
286-
\indextext{base~class!\idxcode{public}}
282+
\indextext{access control!base class}%
283+
\indextext{access specifier}%
284+
\indextext{base class!\idxcode{private}}%
285+
\indextext{base class!\idxcode{protected}}%
286+
\indextext{base class!\idxcode{public}}
287287

288288
\pnum
289289
If a class is declared to be a base class (Clause~\ref{class.derived}) for another class using the
@@ -604,9 +604,9 @@
604604
\begin{example}
605605
the following example illustrates the differences between
606606
members and friends:
607-
\indextext{friend function!member~function~and}%
607+
\indextext{friend function!member function and}%
608608
\indextext{example!friend function}%
609-
\indextext{example!member~function}%
609+
\indextext{example!member function}%
610610

611611
\begin{codeblock}
612612
class X {
@@ -628,7 +628,7 @@
628628
\end{example}
629629

630630
\pnum
631-
\indextext{friend!class access~and}%
631+
\indextext{friend!class access and}%
632632
Declaring a class to be a friend implies that the names of private and
633633
protected members from the class granting friendship can be accessed in the
634634
\grammarterm{base-specifier}{s} and member declarations of the befriended
@@ -715,13 +715,13 @@
715715
\end{example}
716716

717717
\pnum
718-
\indextext{friend function!linkage~of}%
718+
\indextext{friend function!linkage of}%
719719
A function first declared in a friend declaration
720720
has the linkage of the namespace of which it is a member~(\ref{basic.link}).
721721
Otherwise, the function retains its previous linkage~(\ref{dcl.stc}).
722722

723723
\pnum
724-
\indextext{declaration!overloaded~name~and \tcode{friend}}%
724+
\indextext{declaration!overloaded name and \tcode{friend}}%
725725
When a
726726
\tcode{friend}
727727
declaration refers to an overloaded name or operator, only the function specified
@@ -773,7 +773,7 @@
773773
of a friend declaration.
774774

775775
\pnum
776-
\indextext{friend!access~specifier~and}%
776+
\indextext{friend!access specifier and}%
777777
A name nominated by a friend declaration shall be accessible in the scope of the
778778
class containing the friend declaration.
779779
The meaning of the friend declaration is the same whether the friend declaration
@@ -786,7 +786,7 @@
786786
\grammarterm{member-specification}.
787787

788788
\pnum
789-
\indextext{friend!inheritance~and}%
789+
\indextext{friend!inheritance and}%
790790
Friendship is neither inherited nor transitive.
791791
\begin{example}
792792

@@ -817,8 +817,8 @@
817817
\end{example}
818818

819819
\pnum
820-
\indextext{local~class!friend}%
821-
\indextext{friend!local~class~and}%
820+
\indextext{local class!friend}%
821+
\indextext{friend!local class and}%
822822
If a friend declaration appears in a local class~(\ref{class.local}) and the
823823
name specified is an unqualified name, a prior declaration is looked
824824
up without considering scopes that are outside the innermost enclosing
@@ -993,7 +993,7 @@
993993
The members of an enclosing class have no special access to members of a nested
994994
class; the usual access rules (Clause~\ref{class.access}) shall be obeyed.
995995
\begin{example}
996-
\indextext{example!nested~class definition}%
996+
\indextext{example!nested class definition}%
997997

998998
\begin{codeblock}
999999
class E {

0 commit comments

Comments
 (0)