mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-18 02:08:09 +08:00
Update toml/traits.hpp
Co-authored-by: Toru Niina <niina.toru.68u@gmail.com>
This commit is contained in:
@@ -282,7 +282,7 @@ using enable_if_t = typename std::enable_if<B, T>::type;
|
|||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
// return_type_of_t
|
// 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>
|
template<typename F, typename ... Args>
|
||||||
using return_type_of_t = std::invoke_result_t<F, Args...>;
|
using return_type_of_t = std::invoke_result_t<F, Args...>;
|
||||||
|
Reference in New Issue
Block a user