[all-commits] [llvm/llvm-project] b0c769: [libc++][mdspan] Fix extents CTAD (#68737)

Christian Trott via All-commits all-commits at lists.llvm.org
Thu Oct 12 12:09:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0c769a80b5f019f189f67d20e6b24971b435970
      https://github.com/llvm/llvm-project/commit/b0c769a80b5f019f189f67d20e6b24971b435970
  Author: Christian Trott <crtrott at sandia.gov>
  Date:   2023-10-12 (Thu, 12 Oct 2023)

  Changed paths:
    M libcxx/include/__mdspan/extents.h
    M libcxx/test/std/containers/views/mdspan/extents/ctad.pass.cpp

  Log Message:
  -----------
  [libc++][mdspan] Fix extents CTAD (#68737)

extents CTAD was requiring default constructibility of the extent
arguments due to the way we implemented a pack expansion. This
requirement is not in the standard.

Reported in issue #68671
https://github.com/llvm/llvm-project/issues/68671 by @hewillk.

Fixes #68671




More information about the All-commits mailing list