mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-11-22 20:30:11 +00:00
Update toml/traits.hpp
Co-authored-by: Toru Niina <niina.toru.68u@gmail.com>
This commit is contained in:
parent
84f61f7dc8
commit
9c1708c988
@ -282,7 +282,7 @@ using enable_if_t = typename std::enable_if<B, T>::type;
|
||||
// ---------------------------------------------------------------------------
|
||||
// return_type_of_t
|
||||
|
||||
#if __cplusplus >= 201703L && defined(__cpp_lib_is_invocable) && __cpp_lib_is_invocable>=201710
|
||||
#if __cplusplus >= 201703L && defined(__cpp_lib_is_invocable) && __cpp_lib_is_invocable>=201703
|
||||
|
||||
template<typename F, typename ... Args>
|
||||
using return_type_of_t = std::invoke_result_t<F, Args...>;
|
||||
|
Loading…
Reference in New Issue
Block a user