[cfe-dev] [libc++] Patch to support forward_list<Incomplete Type>

Zhihao Yuan zy at miator.net
Wed Nov 13 07:59:39 PST 2013


Hi,

libc++'s forward_list already distinguished the sentry node from data node,
so this patch is just trivial: use an external traits to get the begin node type
instead of looking at data node's implementation to find it.

-- 
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://4bsd.biz/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fwdlst_rec.patch
Type: application/octet-stream
Size: 2848 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131113/6bba25b9/attachment.obj>


More information about the cfe-dev mailing list