Skip to content

Commit b54f250

Browse files
Eelistkoeppe
authored andcommitted
[strings, algorithms, diff] Replace 'routine' with 'function'. (#1217)
1 parent 7b087da commit b54f250

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

source/algorithms.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,7 @@
13531353
algorithms.
13541354
\begin{note}
13551355
Implementations must ensure that internal synchronization inside standard
1356-
library routines does not prevent forward progress when those routines are
1356+
library functions does not prevent forward progress when those functions are
13571357
executed by threads of execution with weakly parallel forward progress guarantees.
13581358
\end{note}
13591359
\begin{example}

source/compatibility.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@
614614
\end{codeblock}
615615
\rationale
616616
When these non-terminated arrays are manipulated by standard
617-
string routines, there is potential for major catastrophe.
617+
string functions, there is potential for major catastrophe.
618618
\effect
619619
Deletion of semantically well-defined feature.
620620
\difficulty

source/strings.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5118,7 +5118,7 @@
51185118
\begin{note}
51195119
Unlike \tcode{basic_string::data()} and string literals,
51205120
\tcode{data()} may return a pointer to a buffer that is not null-terminated.
5121-
Therefore it is typically a mistake to pass \tcode{data()} to a routine that takes just a \tcode{const charT*} and expects a null-terminated string.
5121+
Therefore it is typically a mistake to pass \tcode{data()} to a function that takes just a \tcode{const charT*} and expects a null-terminated string.
51225122
\end{note}
51235123
\end{itemdescr}
51245124

0 commit comments

Comments
 (0)