Not planned
Description
Bugzilla Link | 49841 |
Version | trunk |
OS | All |
Reporter | LLVM Bugzilla Contributor |
CC | @zygoloid |
Extended Description
https://godbolt.org/z/vf3Gn5hTK
#include <concepts>
template <std::signed_integral>
struct A {};
template <template <std::integral> typename>
struct B {};
B<A> b;
clang accepts it.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done
Milestone
Relationships
Development
No branches or pull requests
Activity
ahatanaka commentedon Nov 16, 2022
clang rejects the code if I pass
-frelaxed-template-template-args
to the command line:error: template template argument 'A' is more constrained than template template parameter ''
ahatanaka commentedon Nov 16, 2022
https://reviews.llvm.org/D109496 deprecated
-frelaxed-template-template-args
, but the patch was reverted later.llvmbot commentedon Apr 14, 2024
@llvm/issue-subscribers-clang-frontend
Author: None (llvmbot)
Extended Description
https://godbolt.org/z/vf3Gn5hTK
clang accepts it.
shafik commentedon Apr 14, 2024
@fahadnayyar any progress here?
mizvekov commentedon Apr 28, 2024
Duplicate of #36505