Repository navigation
Two C++20 constraint and member template compilation failures #612
Closed
mbaluda
started this conversation in
Issue Triage - Compilation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Issue Summary
Two valid C++20 patterns fail to compile:
__atomic_always_lock_freecan lose itsbooltype, causing a valid constraint to fail (test, proposed fix Preserve the type of folded atomic lock-free queries [GH #599] #596).&T::template f<>naming a non-template member produces an error instead of a substitution failure (test, proposed fix Reject non-template members named by a template-id [GH #598] #597).Command-line Options
Configuration
Both tests fail on unpatched EDG at
0d4f185ba, built with themacos-arm-clang-debugpreset and-DEDG_BUILD_LIB=OFF; they pass with both fixes applied.All reactions