std::experimental::function (3) Linux Manual Page
std::experimental::function – std::experimental::function
Synopsis
Defined in header <experimental/functional>
template< class > (library fundamentals TS)
class function; /* undefined */
template< class R, class… Args > (library fundamentals TS)
class function<R(Args…)>
std::experimental::function is a modified version of std::function with support for type-erased allocators.
Member types
Type Definition
allocator_type std::experimental::erased_type
Member functions
constructor (public member function)
operator= (public member function)
swap (public member function)
get_memory_resource (public member function)
Non-member functions
std::experimental::swap(std::experimental::function) (function template)
operator== (function template)
operator!=
Helper classes
std::uses_allocator<std::experimental::function> (class template specialization)
Members identical to std::function
Member types
Type Definition
result_type R
argument_type T if sizeof…(Args)==1 and T is the first and only type in Args…
first_argument_type T1 if sizeof…(Args)==2 and T1 is the first of the two types in Args…
second_argument_type T2 if sizeof…(Args)==2 and T2 is the second of the two types in Args…
Member functions
destructor (public member function of std::function<R(Args…)>)
operator_bool (public member function of std::function<R(Args…)>)
operator() (public member function of std::function<R(Args…)>)
Target access
target_type (public member function of std::function<R(Args…)>)
target (public member function of std::function<R(Args…)>)
