std::experimental::function (3) - Linux Manuals
std::experimental::function: std::experimental::function
Command to display std::experimental::function
manual in Linux: $ man 3 std::experimental::function
NAME
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
constructs a new std::experimental::function instance
constructor (public member function)
assigns a new target
operator= (public member function)
swaps the contents
swap (public member function)
retrieves a pointer to the memory resource used by this object to allocate memory
get_memory_resource (public member function)
Non-member functions
specializes the swap algorithm
std::experimental::swap(std::experimental::function) (function template)
compares an std::experimental::function with nullptr
operator== (function template)
operator!=
Helper classes
specializes the std::uses_allocator type trait
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
destroys a std::function instance
destructor (public member function of std::function<R(Args...)>)
checks if a valid target is contained
operator_bool (public member function of std::function<R(Args...)>)
invokes the target
operator() (public member function of std::function<R(Args...)>)
Target access
obtains the typeid of the stored target
target_type (public member function of std::function<R(Args...)>)
obtains a pointer to the stored target
target (public member function of std::function<R(Args...)>)
Pages related to std::experimental::function
- std::experimental::function<R(Args...)>::function (3) - std::experimental::function<R(Args...)>::function
- std::experimental::function<R(Args...)>::get_memory_resource (3) - std::experimental::function<R(Args...)>::get_memory_resource
- std::experimental::function<R(Args...)>::operator= (3) - std::experimental::function<R(Args...)>::operator=
- std::experimental::function<R(Args...)>::swap (3) - std::experimental::function<R(Args...)>::swap
- std::experimental::future (3) - std::experimental::future
- std::experimental::future<T>::future (3) - std::experimental::future<T>::future
- std::experimental::future<T>::is_ready (3) - std::experimental::future<T>::is_ready
- std::experimental::future<T>::operator= (3) - std::experimental::future<T>::operator=
- std::experimental::future<T>::then (3) - std::experimental::future<T>::then
- std::experimental::filesystem::absolute,std::experimental::filesystem::system_complete (3) - std::experimental::filesystem::absolute,std::experimental::filesystem::system_complete
- std::experimental::filesystem::begin(directory_iterator), (3) - std::experimental::filesystem::begin(directory_iterator),
- std::experimental::filesystem::begin(directory_iterator),std::experimental::filesystem::end(directory_iterator) (3) - std::experimental::filesystem::begin(directory_iterator),std::experimental::filesystem::end(directory_iterator)
- std::experimental::filesystem::begin(recursive_directory_iterator), (3) - std::experimental::filesystem::begin(recursive_directory_iterator),
- std::experimental::filesystem::begin(recursive_directory_iterator),std::experimental::filesystem::end(recursive_directory_iterator) (3) - std::experimental::filesystem::begin(recursive_directory_iterator),std::experimental::filesystem::end(recursive_directory_iterator)
- std::experimental::filesystem::canonical (3) - std::experimental::filesystem::canonical
- std::experimental::filesystem::copy (3) - std::experimental::filesystem::copy
- std::experimental::filesystem::copy_file (3) - std::experimental::filesystem::copy_file
- std::experimental::filesystem::copy_options (3) - std::experimental::filesystem::copy_options
- std::experimental::filesystem::copy_symlink (3) - std::experimental::filesystem::copy_symlink
- std::experimental::filesystem::create_directory, (3) - std::experimental::filesystem::create_directory,
- std::experimental::filesystem::create_directory,std::experimental::filesystem::create_directories (3) - std::experimental::filesystem::create_directory,std::experimental::filesystem::create_directories
- std::experimental::filesystem::create_hard_link (3) - std::experimental::filesystem::create_hard_link
- std::experimental::filesystem::create_symlink, (3) - std::experimental::filesystem::create_symlink,
- std::experimental::filesystem::create_symlink,std::experimental::filesystem::create_directory_symlink (3) - std::experimental::filesystem::create_symlink,std::experimental::filesystem::create_directory_symlink