[libcxx-commits] [PATCH] D147741: [libc++, std::vector] call the optimized version of __uninitialized_allocator_copy for trivial types

Aditya Kumar via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 15 15:51:19 PDT 2023


hiraditya updated this revision to Diff 522374.
hiraditya added a subscriber: var-const.
hiraditya added a comment.

Addressed issue with pair of `contiguous_iterator<int*>, sentinel_wrapper<contiguous_iterator<int*>>` . That caused failures with tests added in https://reviews.llvm.org/D149826

As per @var-const

> unwrap_iter can't deal with a situation where the iterator and the sentinel are different types, and unwrap_range was written for that case


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

https://reviews.llvm.org/D147741

Files:
  libcxx/benchmarks/ContainerBenchmarks.h
  libcxx/benchmarks/vector_operations.bench.cpp
  libcxx/include/__memory/uninitialized_algorithms.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147741.522374.patch
Type: text/x-patch
Size: 4476 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230515/a807f861/attachment.bin>


More information about the libcxx-commits mailing list