https://bugs.llvm.org/show_bug.cgi?id=50712
Bug ID: 50712
Summary: Out of line definition mismatch due to incorrect type
equivalence check
Product: clang
Version: 12.0
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++2a
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
When declaring a class A's constructor constrained to check for type
equivalence of the underlying value_type of a passed-in iterator with an
in-class defined nested struct B, the out of line definition of this
constructor does not match the function declaration in class using same_as<>
concept, with both A and B being templated.
A more detailed description is on stackoverflow.
https://stackoverflow.com/questions/67965118/c-concepts-sfinae-clang-and-msvc-g-different-results-for-out-of-line-functi
A brief test case is provided at https://godbolt.org/z/fdqEYxKh8.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs