https://bugs.llvm.org/show_bug.cgi?id=43764
Bug ID: 43764
Summary: Unqualified name use causes ambiguity through ADL
(forward_as_tuple)
Product: libc++
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
I have a library that redefines forward_as_tuple in its namespace, along with
some concrete types. This causes the problem with the following code:
https://github.com/llvm/llvm-project/blob/master/libcxx/include/tuple#L1352
https://github.com/llvm/llvm-project/blob/master/libcxx/include/tuple#L1367
Here, forward_as_tuple is being called unqualified, and ADL kicks in. ADL finds
the definition of forward_as_tuple in the library that I am using, and I get
ambiguity.
--
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