Clang rejects call to base class member function inside requires inside constexpr if using scope resolution operator #83979
Labels
c++20
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
concepts
C++20 concepts
duplicate
Resolved as duplicate
The following program is rejected by clang :Demo
Clang says:
Note program work if we change constexpr if to
if constexpr (requires(T t){t. template foo<S>();})
. DemoThe text was updated successfully, but these errors were encountered: