28 #ifndef BSL_INVOKE_HPP 29 #define BSL_INVOKE_HPP 31 #include "details/invoke_impl.hpp" 59 template<
typename FUNC,
typename... TN>
61 invoke(FUNC &&f, TN &&... tn) noexcept(
62 noexcept(details::invoke_impl<FUNC, TN...>::call(
63 bsl::forward<FUNC>(f),
64 bsl::forward<TN>(tn)...)))
65 -> decltype(details::invoke_impl<FUNC, TN...>::call(
66 bsl::forward<FUNC>(f),
67 bsl::forward<TN>(tn)...))
69 return details::invoke_impl<FUNC, TN...>::call(
70 bsl::forward<FUNC>(f),
71 bsl::forward<TN>(tn)...);
constexpr auto invoke(FUNC &&f, TN &&... tn) noexcept(//-- noexcept(details::invoke_impl< FUNC, TN... >::call(//-- bsl::forward< FUNC >(f),//-- bsl::forward< TN >(tn)...))) -> decltype(details::invoke_impl< FUNC, TN... >::call(bsl::forward< FUNC >(f), bsl::forward< TN >(tn)...))
Invokes the callable object "f" with arguments "tn".
Definition: invoke.hpp:61