[all-commits] [llvm/llvm-project] 6721bc: [libc++] Accept iterators instead of raw pointers ...

Louis Dionne via All-commits all-commits at lists.llvm.org
Thu Nov 14 02:23:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6721bcfd1b6494e9643a04a13144f282979544ad
      https://github.com/llvm/llvm-project/commit/6721bcfd1b6494e9643a04a13144f282979544ad
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-11-14 (Thu, 14 Nov 2024)

  Changed paths:
    M libcxx/include/__memory/uninitialized_algorithms.h

  Log Message:
  -----------
  [libc++] Accept iterators instead of raw pointers in __uninitialized_allocator_relocate (#114552)

This generalizes the algorithm a bit. Unfortunately, we can't make 
the call sites cleaner inside std::vector because the arguments being
passed can all be fancy pointers, which may not be contiguous iterators.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list