meta: workaround for an issue of VS2019 (see #314)

This commit is contained in:
Michele Caini
2020-08-12 09:05:20 +02:00
parent 52554c3972
commit e81e0e97e0

View File

@@ -61,6 +61,9 @@ constexpr meta_function_helper<Ret(Args...)>
to_meta_function_helper(Ret(*)(Args...));
constexpr void to_meta_function_helper(...);
template<typename Candidate>
using meta_function_helper_t = decltype(to_meta_function_helper(std::declval<Candidate>()));