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
Clang currently (since at least 3.1) accepts this program (made well-formed via CWG1330) in C++11 mode but rejects it in C++03 mode.
Godbolt links: acception, rejection.
template<class X> struct Trans { typedef int type; }; template<class X> struct Trans<X*> { typedef void type; }; template<class X> struct Bar { void fun() const throw(typename Trans<X>::type); }; int main() { Bar<int*> bar = Bar<int*>(); }
It's unclear to me why clang doesn't apply the resolution of CWG1330 to C++03 mode.
The text was updated successfully, but these errors were encountered:
@llvm/issue-subscribers-clang-frontend
Sorry, something went wrong.
@shafik Do you think we should port the CWG 1330 implementation to C++03?
No branches or pull requests
Clang currently (since at least 3.1) accepts this program (made well-formed via CWG1330) in C++11 mode but rejects it in C++03 mode.
Godbolt links: acception, rejection.
It's unclear to me why clang doesn't apply the resolution of CWG1330 to C++03 mode.
The text was updated successfully, but these errors were encountered: