has_deducible versus is_class

This commit is contained in:
ThePhD 2014-08-09 05:26:30 -07:00
parent db05dc8436
commit f18bcedd46

View File

@ -143,9 +143,7 @@ struct is_function_impl<T, true> {
static const bool value = sizeof(test<Derived>(0)) == sizeof(yes);
};
} // detail
namespace detail {
template<class F>
struct check_deducible_signature {
template<class G>
@ -167,7 +165,7 @@ template<typename T>
struct Function : Bool<detail::is_function_impl<T>::value> {};
namespace detail {
template<typename Signature, bool b = std::is_class<Signature>::value>
template<typename Signature, bool b = has_deducible_signature<Signature>::value>
struct fx_traits;
template<typename Signature>