22
General utilities library
[utilities]
22.5
Optional objects
[optional]
22.5.4
Partial specialization of
optional
for reference types
[optional.optional.ref]
22.5.4.9
Exposition only helper functions
[optional.ref.expos]
🔗
template
<
class
U
>
constexpr
void
convert-ref-init-val
(
U
&
&
u
)
;
//
exposition only
1
#
Effects
: Creates a variable
r
as if by
T
&
r
(
std
::
forward
<
U
>
(
u
)
)
;
and then initializes
val
with
addressof
(
r
)
.