Skip to content

Commit 4648b20

Browse files
committed
fixup: transcription mistakes
1 parent 958d630 commit 4648b20

File tree

1 file changed

+29
-9
lines changed

1 file changed

+29
-9
lines changed

source/utilities.tex

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -878,9 +878,10 @@
878878
!is_convertible_v<decltype(get<1>(@\exposid{FWD}@(p))), T2>
879879
\end{codeblock}
880880
The constructor is defined as deleted if
881-
\tcode{reference_constructs_from_temporary_v<first_type, decltype(get<0>(FWD(p)))>}
882-
is \tcode{true} or
883-
\tcode{reference_constructs_from_temporary_v<second_type, decltype(get<1>(FWD(p)))>}
881+
\begin{codeblock}
882+
reference_constructs_from_temporary_v<first_type, decltype(get<0>(@\exposid{FWD}@(p)))> ||
883+
reference_constructs_from_temporary_v<second_type, decltype(get<1>(@\exposid{FWD}@(p)))>
884+
\end{codeblock}
884885
is \tcode{true}.
885886
\end{itemdescr}
886887

@@ -14305,8 +14306,8 @@
1430514306
\tcode{\placeholdernc{INVOKE}(f, t$_1$, t$_2$, $\dotsc$, t$_N$)} implicitly converted
1430614307
to \tcode{R}.
1430714308
If
14308-
\tcode{reference_converts_from_temporary_v<R, decltype(\placeholdernc{INVOKE}(f, t$_1$, t$_2$, $\dotsc$, t$_N$)}
14309-
is true,
14309+
\tcode{reference_converts_from_temporary_v<R, decltype(\placeholdernc{INVOKE}(f, t$_1$, t$_2$, $\dotsc$, t$_N$))>}
14310+
is \tcode{true},
1431014311
\tcode{\placeholdernc{INVOKE}<R>(f, t$_1$, t$_2$, $\dotsc$, t$_N$)}
1431114312
is ill-formed.
1431214313

@@ -17753,11 +17754,11 @@
1775317754
inline constexpr bool has_unique_object_representations_v
1775417755
= has_unique_object_representations<T>::value;
1775517756
template<class T, class U>
17756-
inline constexpr bool @\libglobal{reference_constructs_from_temporary_v}@ =
17757-
reference_constructs_from_temporary<T, U>::value;
17757+
inline constexpr bool @\libglobal{reference_constructs_from_temporary_v}@
17758+
= reference_constructs_from_temporary<T, U>::value;
1775817759
template<class T, class U>
17759-
inline constexpr bool @\libglobal{reference_converts_from_temporary_v}@ =
17760-
reference_converts_from_temporary<T, U>::value;
17760+
inline constexpr bool @\libglobal{reference_converts_from_temporary_v}@
17761+
= reference_converts_from_temporary<T, U>::value;
1776117762

1776217763
// \ref{meta.unary.prop.query}, type property queries
1776317764
template<class T>
@@ -18442,6 +18443,25 @@
1844218443
\tcode{T} shall be a complete type, \cv{}~\keyword{void}, or
1844318444
an array of unknown bound. \\ \rowsep
1844418445

18446+
\indexlibraryglobal{reference_constructs_from_temporary}%
18447+
\tcode{template<class T>}\br
18448+
\tcode{struct reference_constructs_from_temporary;} &
18449+
\tcode{conjunction_v<is_reference<T>, is_constructible<T, U>>}
18450+
is \tcode{true}, and
18451+
the initialization \tcode{T t(\exposid{VAL}<U>);} binds \tcode{t} to
18452+
a temporary object whose lifetime is extended\iref{class.temporary}. &
18453+
\tcode{T} and \tcode{U} shall be
18454+
complete types, \cv{}~\keyword{void}, or arrays of unknown bound. \\ \rowsep
18455+
18456+
\indexlibraryglobal{reference_converts_from_temporary}%
18457+
\tcode{template<class T>}\br
18458+
\tcode{struct reference_converts_from_temporary;} &
18459+
\tcode{conjunction_v<is_reference<T>, is_convertible<U, T>>} is \tcode{true},
18460+
and the initialization \tcode{T t = \exposid{VAL}<U>;} binds \tcode{t} to
18461+
a temporary object whose lifetime is extended\iref{class.temporary}. &
18462+
\tcode{T} and \tcode{U} shall be
18463+
complete types, \cv{}~\keyword{void}, or arrays of unknown bound. \\ \rowsep
18464+
1844518465
\end{libreqtab3b}
1844618466

1844718467
\pnum

0 commit comments

Comments
 (0)