[PATCH] [libc++] Make std::deque instantiable with incomplete element type
Peter Collingbourne
peter at pcc.me.uk
Wed Sep 18 22:16:10 PDT 2013
This is a QOI improvement to allow std::deque to be instantiated with
an incomplete element type. The only thing preventing it from being
so instantiated was the __block_size constant, which this patch moves
into a constexpr function and calls where necessary.
http://llvm-reviews.chandlerc.com/D1724
Files:
include/deque
test/containers/sequences/deque/types.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1724.1.patch
Type: text/x-patch
Size: 60390 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130918/e3988b85/attachment.bin>
More information about the cfe-commits
mailing list