22 #ifndef LELY_LIBC_FUNCTIONAL_HPP_ 23 #define LELY_LIBC_FUNCTIONAL_HPP_ 26 #if __cplusplus <= 201703L 36 #if __cplusplus >= 201703L 40 #else // __cplusplus < 201703L 46 template <
class F,
class... Args>
47 inline invoke_result_t<F, Args...>
49 return detail::invoke(::std::forward<F>(f), ::std::forward<Args>(args)...);
52 #endif // __cplusplus < 201703L 57 #endif // !LELY_LIBC_FUNCTIONAL_HPP_ This header file is part of the compatibility library; it includes <type_traits> and defines any miss...
invoke_result_t< F, Args... > invoke(F &&f, Args &&... args)
Invokes f with the arguments args... as if by INVOKE(forward<F>(f), forward<Args>(args)...).
This header file is part of the Lely libraries; it contains the compiler feature definitions.