http://llvm.org/bugs/show_bug.cgi?id=17550
Bug ID: 17550
Summary: tuple::operator=(derived_from_tuple)
Product: libc++
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Hello,
code like the following seems to compile using exactly the tuple::operator=
overloads from the standard, but not with the clever refactorization in libc++.
I think A is not detected as tuple_like.
#include <tuple>
struct A : public std::tuple<int, double> {};
int main() {
A t;
int i;
double j;
std::tie(i,j)=t;
}
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs