Skip to content

Commit 3bada82

Browse files
committed
[class.temporary] Clean up wording
1 parent 721d01c commit 3bada82

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

source/basic.tex

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4756,27 +4756,28 @@
47564756
\end{itemize}
47574757
implementations are permitted
47584758
to create temporary objects
4759-
to hold the function parameter or result object,
4759+
to hold the value of the function parameter or result object,
47604760
as follows:
47614761
\begin{itemize}
47624762
\item
47634763
The first such temporary object
4764-
is constructed from the function argument or return value, respectively.
4764+
is initialized from the function argument or
4765+
the operand of \keyword{return}, respectively.
47654766
\item
47664767
Each successive temporary object
47674768
is initialized from the previous one
47684769
as if by direct-initialization if \tcode{X} is a scalar type,
47694770
otherwise by using an eligible trivial constructor.
47704771
\item
4771-
The function parameter or return object is initialized
4772-
from the final temporary
4772+
The function parameter or result object is initialized
4773+
from the final temporary object
47734774
as if by direct-initialization if \tcode{X} is a scalar type,
47744775
otherwise by using an eligible trivial constructor.
47754776
\end{itemize}
4776-
(In all cases, the eligible constructor is used
4777+
In all cases, the eligible constructor is used
47774778
even if that constructor is inaccessible
47784779
or would not be selected by overload resolution
4779-
to perform a copy or move of the object).
4780+
to perform a copy or move of the object.
47804781
\begin{note}
47814782
This latitude is granted to allow objects
47824783
to be passed to or returned from functions in registers.

0 commit comments

Comments
 (0)