Skip to content

Commit

Permalink
[pairs.pair] Replace std::forward with std::move where equivalent
Browse files Browse the repository at this point in the history
  • Loading branch information
Eisenwave committed Mar 3, 2024
1 parent 23430d7 commit 3389c7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1076,8 +1076,8 @@

\pnum
\effects
Assigns \tcode{std::forward<T1>(p.first)} to \tcode{first} and
\tcode{std::forward<T2>(p.second)} to \tcode{second}.
Assigns \tcode{std::move(p.first)} to \tcode{first} and
\tcode{std::move(p.second)} to \tcode{second}.

\pnum
\returns
Expand Down Expand Up @@ -1108,8 +1108,8 @@

\pnum
\effects
Assigns \tcode{std::forward<T1>(p.first)} to \tcode{first} and
\tcode{std::forward<T2>(p.second)} to \tcode{second}.
Assigns \tcode{std::move(p.first)} to \tcode{first} and
\tcode{std::move(p.second)} to \tcode{second}.

\pnum
\returns
Expand Down

0 comments on commit 3389c7d

Please sign in to comment.