mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add C++17 make_from_tuple
This commit is contained in:
parent
eec9c86920
commit
23408e46c4
4 changed files with 50 additions and 6 deletions
|
@ -24,7 +24,7 @@ namespace sprout {
|
|||
template<typename F, typename... Args>
|
||||
inline SPROUT_CONSTEXPR typename sprout::invoke_result<F, Args...>::type
|
||||
invoke(F&& f, Args&&... args) SPROUT_NOEXCEPT_IF((sprout::is_nothrow_invocable<F, Args...>::value)) {
|
||||
return sprout::detail::invoke(sprout::forward<F>(f), sprout::forward<Args>(args)...);
|
||||
return sprout::detail::invoke(SPROUT_FORWARD(F, f), SPROUT_FORWARD(Args, args)...);
|
||||
}
|
||||
} // namespace sprout
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue