[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
Sat Sep 21 19:31:50 PDT 2019


Quuxplusone updated this revision to Diff 221208.
Quuxplusone added a comment.
Herald added a subscriber: christof.

Fix a bug in my `vector::insert`; it wasn't exception-safe.


Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67524/new/

https://reviews.llvm.org/D67524

Files:
  benchmarks/algorithms.bench.cpp
  benchmarks/swap.bench.cpp
  include/memory
  include/type_traits
  include/vector
  test/libcxx/containers/sequences/vector/insert_trivially_relocatable.pass.cpp
  test/std/containers/sequences/vector/vector.modifiers/insert_exception_safety.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67524.221208.patch
Type: text/x-patch
Size: 23673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190922/86a78cd2/attachment-0001.bin>


More information about the libcxx-commits mailing list