22
General utilities library
[utilities]
22.10
Function objects
[function.objects]
22.10.17
Polymorphic function wrappers
[func.wrap]
22.10.17.4
Move only wrapper
[func.wrap.move]
22.10.17.4.4
Invocation
[func.wrap.move.inv]
🔗
explicit
operator
bool
(
)
const
noexcept
;
1
#
Returns
:
true
if
*
this
has a target object, otherwise
false
.
🔗
R
operator
(
)
(
ArgTypes
.
.
.
args
)
cv
ref
noexcept
(
noex
)
;
2
#
Preconditions
:
*
this
has a target object
.
3
#
Effects
: Equivalent to:
return
INVOKE
<
R
>
(
static_cast
<
F
inv-quals
>
(
f
)
, std
::
forward
<
ArgTypes
>
(
args
)
.
.
.
)
;
where
f
is an lvalue designating the target object of
*
this
and
F
is the type of
f
.