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

Ilya Biryukov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jun 2 09:43:19 PDT 2023


ilya-biryukov added a comment.

@philnik makes sense, thanks for clarifying.
I wasn't sure if the standard requires to fall back to implementation for a weaker iterator since the type does not implement the corresponding concept <https://en.cppreference.com/w/cpp/iterator/contiguous_iterator> because  `std::to_address` can't be called.
But I didn't want to spend too much time digging through the standard.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147741



More information about the libcxx-commits mailing list