[LLVMbugs] [Bug 10470] New: Providing ext/slist would improve GNU compatibility

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jul 24 17:16:44 PDT 2011


           Summary: Providing ext/slist would improve GNU compatibility
           Product: libc++
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
        AssignedTo: hhinnant at apple.com
        ReportedBy: oneill+llvmbugs at cs.hmc.edu
                CC: llvmbugs at cs.uiuc.edu

Various old code uses ext/slist as a low-overhead linked list. Obviously, C++11
code should really use forward_list, but in the interest of easing migration,
we ought to provide ext/slist.  This is a notable issue because code compiling
with the *old* libstdc++ shipped by Apple can't use forward_list because it
isn't present.

P.S. To make code conditionally choose an appropriate singly-linked list, I can
check for _LIBCPP_VERSION, but is that the “right” way?

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list