libycxx

operator

ycxx::inplace_function<R(A...), Capacity, Alignment>::operator()

Status
libycxx extension; include its header (not exported by import std;)
Scope
ycxx::inplace_function<R(A...), Capacity, Alignment>

Invokes the stored target as a mutable lvalue, forwarding the arguments.

Synopsis

R operator()(A... args) const;

Exceptions

std::bad_function_call
if empty; otherwise any exception thrown by the target.