[all-commits] [llvm/llvm-project] 70d7be: [libc++] Verify span and string_view are trivially...

Joseph Loser via All-commits all-commits at lists.llvm.org
Mon Oct 11 11:29:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 70d7bef1e8ef4bb5b0d3cb3c0d89b088103eb83d
      https://github.com/llvm/llvm-project/commit/70d7bef1e8ef4bb5b0d3cb3c0d89b088103eb83d
  Author: Joe Loser <joeloser93 at gmail.com>
  Date:   2021-10-11 (Mon, 11 Oct 2021)

  Changed paths:
    M libcxx/docs/Status/Cxx2bPapers.csv
    A libcxx/test/std/containers/views/trivially_copyable.compile.pass.cpp
    A libcxx/test/std/strings/string.view/trivially_copyable.compile.pass.cpp

  Log Message:
  -----------
  [libc++] Verify span and string_view are trivially copyable

Implement P2251 which requires `span` and `basic_string_view` to be
trivially copyable. They already are - this just adds tests to bind that
behavior.

Reviewed By: ldionne, Quuxplusone, Mordante, #libc

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




More information about the All-commits mailing list