Premature substitution into constraints #46758
Labels
bugzilla
Issues migrated from bugzilla
c++20
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
Extended Description
Compiling this program:
with "clang++ -std=c++2a" diagnoses (https://godbolt.org/z/qhhec8):
Despite that
C<T>
is unsatisfied, the compiler is substituting into the conjoinedis_same_v<alias<T>, void>
atomic constraint.The text was updated successfully, but these errors were encountered: