[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


            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




are not supported by libc++.

Here are the proposed changes:


The later one requires probably an ABI immigration.  We don't know what to do

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