http://llvm.org/bugs/show_bug.cgi?id=10470
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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs