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
Names matching /is_\w+/ are conventionally reserved for bool_constants, but in cpp11 they connote a typedef of enable_if, for example (as.hpp:24):
/is_\w+/
bool_constant
enable_if
template <typename T> using is_integral = typename std::enable_if< std::is_integral<T>::value && !std::is_same<typename std::decay<T>::type, bool>::value && !std::is_same<typename std::decay<T>::type, char>::value, typename std::decay<T>::type>::type;
The prefix enable_if_ will make it clearer to newcomers that this is an SFINAE helper.
enable_if_
The text was updated successfully, but these errors were encountered:
Sounds like a good suggestion to me.
Sorry, something went wrong.
fixed in #72
No branches or pull requests
Names matching
/is_\w+/
are conventionally reserved forbool_constant
s, but in cpp11 they connote a typedef ofenable_if
, for example (as.hpp:24):The prefix
enable_if_
will make it clearer to newcomers that this is an SFINAE helper.The text was updated successfully, but these errors were encountered: