A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/algorithm/../ranges/../../cpp/experimental/function.html below:

std::experimental::function - cppreference.com

template< class >
class function; /* undefined */

(library fundamentals TS)

template< class R, class... Args >
class function<R(Args...)>

(library fundamentals TS)

std::experimental::function is a modified version of std::function with support for type-erased allocators.

[edit] Member types Type Definition allocator_type [edit] Member functions [edit] Non-member functions [edit] Helper classes Members identical to std::function Member types Type Definition result_type R Member types removed in Library Fundamental TS v3 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 types argument_type, first_argument_type, and second_argument_type are removed, because the correponding member types of std::function are removed in C++20.

(library fundamentals TS v3) Member functions destroys a std::function instance
(public member function of std::function<R(Args...)>) [edit] checks if a target is contained
(public member function of std::function<R(Args...)>) [edit] invokes the target
(public member function of std::function<R(Args...)>) [edit] Target access obtains the typeid of the stored target
(public member function of std::function<R(Args...)>) [edit] obtains a pointer to the stored target
(public member function of std::function<R(Args...)>) [edit]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4