Open i-photon opened 5 days ago
@llvm/issue-subscribers-clang-frontend
Author: None (i-photon)
@llvm/issue-subscribers-c-20
Author: None (i-photon)
The restriction only applies to structors https://eel.is/c++draft/dcl.dcl#dcl.constexpr-3
Looks like a duplicate of #97266.
Virtual constexpr has been allowed since C++20.
This is unrelated to virtual base classes.
Virtual constexpr has been allowed since C++20. What happened?
Here's my sentiment: https://godbolt.org/z/f8hYGYMab
This is causing a needless headache trying to re-use interfaces in constexpr.