Skip to content

Commit 7e5537d

Browse files
Eelistkoeppe
authored andcommitted
Parenthesize some \refs. (#1436)
1 parent cf283d8 commit 7e5537d

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

source/containers.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3857,7 +3857,7 @@
38573857
\pnum
38583858
An incomplete type \tcode{T} may be used when instantiating \tcode{forward_list}
38593859
if the allocator satisfies the
3860-
allocator completeness requirements~\ref{allocator.requirements.completeness}.
3860+
allocator completeness requirements~(\ref{allocator.requirements.completeness}).
38613861
\tcode{T} shall be complete before any member of the resulting specialization
38623862
of \tcode{forward_list} is referenced.
38633863

@@ -4571,7 +4571,7 @@
45714571
\pnum
45724572
An incomplete type \tcode{T} may be used when instantiating \tcode{list}
45734573
if the allocator satisfies the
4574-
allocator completeness requirements~\ref{allocator.requirements.completeness}.
4574+
allocator completeness requirements~(\ref{allocator.requirements.completeness}).
45754575
\tcode{T} shall be complete before any member of the resulting specialization
45764576
of \tcode{list} is referenced.
45774577

@@ -5243,7 +5243,7 @@
52435243
\pnum
52445244
An incomplete type \tcode{T} may be used when instantiating \tcode{vector}
52455245
if the allocator satisfies the
5246-
allocator completeness requirements~\ref{allocator.requirements.completeness}.
5246+
allocator completeness requirements~(\ref{allocator.requirements.completeness}).
52475247
\tcode{T} shall be complete before any member of the resulting specialization
52485248
of \tcode{vector} is referenced.
52495249

source/diagnostics.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1664,7 +1664,7 @@
16641664

16651665
\pnum
16661666
\begin{note} If an error represents an out-of-memory condition, implementations are
1667-
encouraged to throw an exception object of type \tcode{bad_alloc}~\ref{bad.alloc} rather
1667+
encouraged to throw an exception object of type \tcode{bad_alloc}~(\ref{bad.alloc}) rather
16681668
than \tcode{system_error}. \end{note}
16691669

16701670
\indexlibrary{\idxcode{system_error}}%

source/lib-intro.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2126,7 +2126,7 @@
21262126

21272127
\begin{itemize}
21282128
\item \tcode{X} is a complete type, and
2129-
\item all the member types of \tcode{allocator_traits<X>}~\ref{allocator.traits}
2129+
\item all the member types of \tcode{allocator_traits<X>}~(\ref{allocator.traits})
21302130
other than \tcode{value_type} are complete types.
21312131
\end{itemize}
21322132

source/regex.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@
848848
\tcode{match_prev_avail} &
849849
\verb!--first! is a valid iterator position. When this flag is
850850
set the flags match_not_bol and match_not_bow shall be ignored by the
851-
regular expression algorithms~\ref{re.alg} and iterators~\ref{re.iter}.
851+
regular expression algorithms~(\ref{re.alg}) and iterators~(\ref{re.iter}).
852852
\\ \rowsep
853853
%
854854
\indexlibrary{\idxcode{format_default}}%
@@ -4158,8 +4158,8 @@
41584158
The behavior of the internal finite state machine representation when used to match a
41594159
sequence of characters is as described in ECMA-262.
41604160
The behavior is modified according
4161-
to any match_flag_type flags~\ref{re.matchflag} specified when using the regular expression
4162-
object in one of the regular expression algorithms~\ref{re.alg}. The behavior is also
4161+
to any match_flag_type flags~(\ref{re.matchflag}) specified when using the regular expression
4162+
object in one of the regular expression algorithms~(\ref{re.alg}). The behavior is also
41634163
localized by interaction with the traits class template parameter as follows:
41644164
\begin{itemize}
41654165
\item During matching of a regular expression finite state machine

source/utilities.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7683,7 +7683,7 @@
76837683

76847684
\pnum
76857685
All specializations of the default allocator satisfy the
7686-
allocator completeness requirements~\ref{allocator.requirements.completeness}.
7686+
allocator completeness requirements~(\ref{allocator.requirements.completeness}).
76877687

76887688
\indexlibrary{\idxcode{allocator}}%
76897689
\begin{codeblock}

0 commit comments

Comments
 (0)