[LLVMbugs] [Bug 17550] New: tuple::operator=(derived_from_tuple)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Oct 11 03:05:37 PDT 2013
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: hhinnant at apple.com
Reporter: marc.glisse at normalesup.org
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131011/02effb31/attachment.html>
More information about the llvm-bugs
mailing list