We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As @jbangelo suggested it'd be nice to switch the trait inspection style from something like this:
template <typename X> class is_complete { template <typename T, typename = decltype(!sizeof(T))> static std::true_type test(int); template <typename T> static std::false_type test(...); public: static constexpr bool value = decltype(test<X>(0))::value; };
to something like this:
template<typename T, typename = void> struct is_complete : std::false_type { }; template<typename T> struct is_complete<T, typename std::enable_if<sizeof(T) != 0>::type> : std::true_type { };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As @jbangelo suggested it'd be nice to switch the trait inspection style from something like this:
to something like this:
The text was updated successfully, but these errors were encountered: