[func.wrap.copy.inv] (original) (raw)

22 General utilities library [utilities]

22.10 Function objects [function.objects]

22.10.17 Polymorphic function wrappers [func.wrap]

22.10.17.5 Copyable wrapper [func.wrap.copy]

22.10.17.5.4 Invocation [func.wrap.copy.inv]

explicit operator bool() const noexcept;

Returns: true if *this has a target object, otherwise false.

R operator()(ArgTypes... args) cv _ref_ noexcept(_noex_);

Preconditions: *this has a target object.

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 andF is the type of f.