20
General utilities library
[utilities]
20.14
Function objects
[function.objects]
20.14.17
Polymorphic function wrappers
[func.wrap]
20.14.17.3
Class template
function
[func.wrap.func]
20.14.17.3.5
Invocation
[func.wrap.func.inv]
🔗
R
operator
(
)
(
ArgTypes
.
.
.
args
)
const
;
1
#
Returns
:
INVOKE
<
R
>
(
f, std
::
forward
<
ArgTypes
>
(
args
)
.
.
.
)
(
[func.
require]
), where
f
is the
target object
of
*
this
.
2
#
Throws
:
bad_function_call
if
!
*
this
; otherwise, any exception thrown by the wrapped callable object
.