constexpr not allowed on member function of type with a virtual base. #112016
Labels
c++20
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
confirmed
Verified by a second party
constexpr
Anything related to constant evaluation
rejects-valid
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.
The text was updated successfully, but these errors were encountered: