Skip to content

Commit 2585d7f

Browse files
jensmaurerzygoloid
authored andcommitted
[std] Replace underscores in stable labels with periods.
1 parent 0b92dd0 commit 2585d7f

14 files changed

+220
-136
lines changed

source/algorithms.tex

+8-8
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@
609609

610610
namespace std {
611611
// \ref{alg.nonmodifying}, non-modifying sequence operations
612-
// \ref{alg.all_of}, all of
612+
// \ref{alg.all.of}, all of
613613
template<class InputIterator, class Predicate>
614614
constexpr bool all_of(InputIterator first, InputIterator last, Predicate pred);
615615
template<class ExecutionPolicy, class ForwardIterator, class Predicate>
@@ -625,7 +625,7 @@
625625
constexpr bool all_of(R&& r, Pred pred, Proj proj = {});
626626
}
627627

628-
// \ref{alg.any_of}, any of
628+
// \ref{alg.any.of}, any of
629629
template<class InputIterator, class Predicate>
630630
constexpr bool any_of(InputIterator first, InputIterator last, Predicate pred);
631631
template<class ExecutionPolicy, class ForwardIterator, class Predicate>
@@ -641,7 +641,7 @@
641641
constexpr bool any_of(R&& r, Pred pred, Proj proj = {});
642642
}
643643

644-
// \ref{alg.none_of}, none of
644+
// \ref{alg.none.of}, none of
645645
template<class InputIterator, class Predicate>
646646
constexpr bool none_of(InputIterator first, InputIterator last, Predicate pred);
647647
template<class ExecutionPolicy, class ForwardIterator, class Predicate>
@@ -1013,7 +1013,7 @@
10131013
Proj1 proj1 = {}, Proj2 proj2 = {});
10141014
}
10151015

1016-
// \ref{alg.is_permutation}, is permutation
1016+
// \ref{alg.is.permutation}, is permutation
10171017
template<class ForwardIterator1, class ForwardIterator2>
10181018
constexpr bool is_permutation(ForwardIterator1 first1, ForwardIterator1 last1,
10191019
ForwardIterator2 first2);
@@ -2888,7 +2888,7 @@
28882888

28892889
\rSec1[alg.nonmodifying]{Non-modifying sequence operations}
28902890

2891-
\rSec2[alg.all_of]{All of}
2891+
\rSec2[alg.all.of]{All of}
28922892

28932893
\indexlibrary{\idxcode{all_of}}%
28942894
\begin{itemdecl}
@@ -2924,7 +2924,7 @@
29242924
At most \tcode{last - first} applications of the predicate and any projection.
29252925
\end{itemdescr}
29262926

2927-
\rSec2[alg.any_of]{Any of}
2927+
\rSec2[alg.any.of]{Any of}
29282928

29292929
\indexlibrary{\idxcode{any_of}}%
29302930
\begin{itemdecl}
@@ -2959,7 +2959,7 @@
29592959
and any projection.
29602960
\end{itemdescr}
29612961

2962-
\rSec2[alg.none_of]{None of}
2962+
\rSec2[alg.none.of]{None of}
29632963

29642964
\indexlibrary{\idxcode{none_of}}%
29652965
\begin{itemdecl}
@@ -3781,7 +3781,7 @@
37813781
\end{itemize}
37823782
\end{itemdescr}
37833783

3784-
\rSec2[alg.is_permutation]{Is permutation}
3784+
\rSec2[alg.is.permutation]{Is permutation}
37853785

37863786
\indexlibrary{\idxcode{is_permutation}}%
37873787
\begin{itemdecl}

source/basic.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
\item
136136
it declares a static data member outside a class definition
137137
and the variable was defined within the class with the \tcode{constexpr}
138-
specifier (this usage is deprecated; see \ref{depr.static_constexpr}),
138+
specifier (this usage is deprecated; see \ref{depr.static.constexpr}),
139139
\item
140140
\indextext{declaration!class name}%
141141
it is introduced by an \grammarterm{elaborated-type-specifier}\iref{class.name},

source/classes.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -2837,7 +2837,7 @@
28372837
and may specify a \grammarterm{brace-or-equal-initializer}. If the
28382838
member is declared with the \tcode{constexpr} specifier, it may be
28392839
redeclared in namespace scope with no initializer (this usage is
2840-
deprecated; see \ref{depr.static_constexpr}). Declarations of other
2840+
deprecated; see \ref{depr.static.constexpr}). Declarations of other
28412841
static data members shall not specify a \grammarterm{brace-or-equal-initializer}.
28422842

28432843
\pnum

source/containers.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -3224,7 +3224,7 @@
32243224
}
32253225
\end{codeblock}
32263226

3227-
\rSec2[forward_list.syn]{Header \tcode{<forward_list>} synopsis}
3227+
\rSec2[forward.list.syn]{Header \tcode{<forward_list>} synopsis}
32283228

32293229
\indexhdr{forward_list}%
32303230

@@ -4689,7 +4689,7 @@
46894689
\complexity Linear time.
46904690
\end{itemdescr}
46914691

4692-
\rSec3[forward_list.erasure]{Erasure}
4692+
\rSec3[forward.list.erasure]{Erasure}
46934693

46944694
\indexlibrary{\idxcode{erase}!\idxcode{forward_list}}%
46954695
\begin{itemdecl}

source/diagnostics.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@
677677
Implementations should leave the error states provided by other
678678
libraries unchanged.
679679

680-
\rSec2[system_error.syn]{Header \tcode{<system_error>} synopsis}
680+
\rSec2[system.error.syn]{Header \tcode{<system_error>} synopsis}
681681
\indexhdr{system_error}%
682682
\indexlibrary{\idxcode{error_category}}%
683683
\indexlibrary{\idxcode{error_code}}%

source/future.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
\end{codeblock}
7474
\end{example}
7575

76-
\rSec1[depr.static_constexpr]{Redeclaration of \tcode{static constexpr} data members}
76+
\rSec1[depr.static.constexpr]{Redeclaration of \tcode{static constexpr} data members}
7777

7878
\pnum
7979
For compatibility with prior \Cpp{} International Standards, a \tcode{constexpr}

0 commit comments

Comments
 (0)