Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
20
Memory management library
[mem]
20.3
Smart pointers
[smartptr]
20.3.4
Smart pointer adaptors
[smartptr.adapt]
20.3.4.4
Function template
inout_
ptr
[inout.ptr]
🔗
template
<
class
Pointer
=
void
,
class
Smart,
class
.
.
.
Args
>
auto
inout_ptr
(
Smart
&
s, Args
&
&
.
.
.
args
)
;
1
#
Let
P
be
Pointer
if
is_
void_
v
<
Pointer
>
is
false
, otherwise
POINTER_
OF
(
Smart
)
.
2
#
Returns
:
inout_
ptr_
t
<
Smart, P, Args
&
&
.
.
.
>
(
s, std
::
forward
<
Args
>
(
args
)
.
.
.
)
.