diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-10-05 16:38:42 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-10-05 16:47:30 +0100 |
commit | 1f51e9af7b615838424214e6aaea0de793cb10fe (patch) | |
tree | 50c7b34732f51685137eb20f9f060f93f52dcf15 /gcc/cp/constexpr.c | |
parent | 370374c4d91d83fb69d4b70dd4e48103114a903d (diff) | |
download | gcc-1f51e9af7b615838424214e6aaea0de793cb10fe.zip gcc-1f51e9af7b615838424214e6aaea0de793cb10fe.tar.gz gcc-1f51e9af7b615838424214e6aaea0de793cb10fe.tar.bz2 |
libstdc++: Ensure std::span and std::string_view are trivially copyable (P2251R1)
The recently approved P2251R1 paper requires these types to be trivially
copyable. They always have been in libstdc++, but add tests to check it.
libstdc++-v3/ChangeLog:
* testsuite/21_strings/basic_string_view/requirements/trivially_copyable.cc:
New test.
* testsuite/23_containers/span/trivially_copyable.cc: New test.
Diffstat (limited to 'gcc/cp/constexpr.c')
0 files changed, 0 insertions, 0 deletions