[libcxx-commits] [PATCH] D67524: P1144 "Trivially relocatable" (3/3): optimize std::vector and std::swap for trivially relocatable types
Arthur O'Dwyer via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Sep 13 16:27:58 PDT 2019
Quuxplusone updated this revision to Diff 220192.
Quuxplusone added a comment.
Address most of @zoecarver's review comments. (Haven't looked into `_And` yet.)
Since `__libcpp_is_constant_evaluated()` is usable, use it in `std::swap`. (This passes all the test cases for `swap`, including the constexpr ones! Hooray!)
Repository:
rCXX libc++
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67524/new/
https://reviews.llvm.org/D67524
Files:
include/memory
include/type_traits
include/vector
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67524.220192.patch
Type: text/x-patch
Size: 13228 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190913/30fa873d/attachment-0001.bin>
More information about the libcxx-commits
mailing list