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
https://github.com/llvm/llvm-project/blob/3af4590506634fa176be5cb5f53161f96609730c/clang/lib/Parse/ParseExpr.cpp#L1071
This works:
template <bool> struct _BoolConstant {}; #if __has_builtin(__is_destructible) template <class _Tp> struct is_destructible : _BoolConstant<__is_destructible(_Tp)> {}; #endif
But this doesn't:
template <bool> struct _BoolConstant {}; template <class _Tp> struct is_destructible : _BoolConstant<__is_destructible(_Tp)> {};
This suggests there may be something stateful involved with __is_destructibe showing up first in the __has_builtin.
__is_destructibe
__has_builtin
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/llvm/llvm-project/blob/3af4590506634fa176be5cb5f53161f96609730c/clang/lib/Parse/ParseExpr.cpp#L1071
This works:
But this doesn't:
This suggests there may be something stateful involved with
__is_destructibe
showing up first in the__has_builtin
.The text was updated successfully, but these errors were encountered: