aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/constexpr.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-10-05 16:38:42 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-10-05 16:47:30 +0100
commit1f51e9af7b615838424214e6aaea0de793cb10fe (patch)
tree50c7b34732f51685137eb20f9f060f93f52dcf15 /gcc/cp/constexpr.c
parent370374c4d91d83fb69d4b70dd4e48103114a903d (diff)
downloadgcc-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