Skip to content

Commit 10e2799

Browse files
AlisdairMtkoeppe
authored andcommitted
[pairs.pair] Consistent wording for assignment
Apply a consistent pattern to how we specify assigning members in assignment operators.
1 parent fbb1a6e commit 10e2799

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/utilities.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,8 +1075,8 @@
10751075

10761076
\pnum
10771077
\effects
1078-
Assigns to \tcode{first} with \tcode{std::forward<T1>(p.first)}
1079-
and to \tcode{second} with \tcode{std::forward<T2>(\brk{}p.second)}.
1078+
Assigns \tcode{std::forward<T1>(p.first)} to \tcode{first} and
1079+
\tcode{std::forward<T2>(p.second)} to \tcode{second}.
10801080

10811081
\pnum
10821082
\returns
@@ -1130,8 +1130,8 @@
11301130

11311131
\pnum
11321132
\effects
1133-
Assigns to \tcode{first} with \tcode{std::forward<U1>(p.first)}
1134-
and to \tcode{second} with\\ \tcode{std::forward<U2>(p.second)}.
1133+
Assigns \tcode{std::forward<U1>(p.first)} \tcode{first} and
1134+
\tcode{std::forward<U2>(p.second)} to \tcode{second}.
11351135

11361136
\pnum
11371137
\returns

0 commit comments

Comments
 (0)