[LLVMbugs] [Bug 17980] New: Container<Incomplete Type> support
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Nov 18 07:41:14 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=17980
Bug ID: 17980
Summary: Container<Incomplete Type> support
Product: libc++
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: hhinnant at apple.com
Reporter: lichray at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Although not required by the standard (yet), allow value types
to be incomplete types can be very useful when declraing recursive
data structures:
struct A {
std::vector<A> v;
};
Comparing to libstdc++, currently
forward_list<Incomplete>
and
deque<Incomplete>
are not supported by libc++.
Here are the proposed changes:
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-November/033494.html
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-November/033517.html
The later one requires probably an ABI immigration. We don't know what to do
yet.
--
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/20131118/d484fd17/attachment.html>
More information about the llvm-bugs
mailing list