[all-commits] [llvm/llvm-project] c99f5b: [libc++] Handle arrays in std::destroy_at

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Jul 30 06:40:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c99f5b2af1fce174822a40789ab4e305553f088a
      https://github.com/llvm/llvm-project/commit/c99f5b2af1fce174822a40789ab4e305553f088a
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-07-30 (Fri, 30 Jul 2021)

  Changed paths:
    M libcxx/include/__memory/construct_at.h
    M libcxx/include/__memory/uninitialized_algorithms.h
    M libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy.pass.cpp
    M libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_at.pass.cpp
    M libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_n.pass.cpp

  Log Message:
  -----------
  [libc++] Handle arrays in std::destroy_at

Also, improve tests for std::destroy and std::destroy_n so that they
check for array support.

These changes are part of http://wg21.link/p0896 (the One Ranges proposal).

Differential Revision: https://reviews.llvm.org/D106916




More information about the All-commits mailing list