Skip to content

Commit 5599ece

Browse files
committed
[unique.ptr], [func.require] Remove hyphens from "lvalue-reference"
and "rvalue-reference". Fixes #446.
1 parent 6e2e0a7 commit 5599ece

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

source/utilities.tex

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4610,8 +4610,8 @@
46104610
The default type for the template parameter \tcode{D} is
46114611
\tcode{default_delete}. A client-supplied template argument
46124612
\tcode{D} shall be a function
4613-
object type~(\ref{function.objects}), lvalue-reference to function, or
4614-
lvalue-reference to function object type
4613+
object type~(\ref{function.objects}), lvalue reference to function, or
4614+
lvalue reference to function object type
46154615
for which, given
46164616
a value \tcode{d} of type \tcode{D} and a value
46174617
\tcode{ptr} of type \tcode{unique_ptr<T, D>::pointer}, the expression
@@ -4708,7 +4708,7 @@
47084708
\end{codeblock}
47094709

47104710
\pnum
4711-
If \tcode{D} is an lvalue-reference type \tcode{A\&},
4711+
If \tcode{D} is an lvalue reference type \tcode{A\&},
47124712
then the signatures are:
47134713

47144714
\begin{codeblock}
@@ -4717,7 +4717,7 @@
47174717
\end{codeblock}
47184718

47194719
\pnum
4720-
If \tcode{D} is an lvalue-reference type \tcode{const A\&},
4720+
If \tcode{D} is an lvalue reference type \tcode{const A\&},
47214721
then the signatures are:
47224722

47234723
\begin{codeblock}
@@ -4728,7 +4728,7 @@
47284728
\pnum
47294729
\requires
47304730
\begin{itemize}
4731-
\item If \tcode{D} is not an lvalue-reference type then
4731+
\item If \tcode{D} is not an lvalue reference type then
47324732

47334733
\begin{itemize}
47344734
\item If \tcode{d} is an lvalue or \tcode{const} rvalue then
@@ -4749,7 +4749,7 @@
47494749
hold a value move constructed from \tcode{d}.
47504750
\end{itemize}
47514751

4752-
\item Otherwise \tcode{D} is an lvalue-reference type. \tcode{d}
4752+
\item Otherwise \tcode{D} is an lvalue reference type. \tcode{d}
47534753
shall be reference-compatible with one of the constructors. If \tcode{d} is
47544754
an rvalue, it will bind to the second constructor of this pair and the program is
47554755
ill-formed. \enternote The diagnostic could
@@ -4759,7 +4759,7 @@
47594759
which \tcode{D} references need not be \tcode{CopyConstructible}
47604760
nor \tcode{MoveConstructible}. This \tcode{unique_ptr} will
47614761
hold a \tcode{D} which refers to the lvalue \tcode{d}.
4762-
\enternote \tcode{D} may not be an rvalue-reference type.
4762+
\enternote \tcode{D} may not be an rvalue reference type.
47634763
\exitnote
47644764
\end{itemize}
47654765

@@ -7360,8 +7360,8 @@
73607360
do not throw exceptions. A \term{forwarding call wrapper} is a
73617361
call wrapper that can be called with an arbitrary argument list
73627362
and delivers the arguments to the wrapped callable object as references.
7363-
This forwarding step shall ensure that rvalue arguments are delivered as rvalue-references
7364-
and lvalue arguments are delivered as lvalue-references.
7363+
This forwarding step shall ensure that rvalue arguments are delivered as rvalue references
7364+
and lvalue arguments are delivered as lvalue references.
73657365
\enternote In a typical implementation
73667366
forwarding call wrappers have an overloaded function call
73677367
operator of

0 commit comments

Comments
 (0)