[libcxx-commits] [PATCH] D111197: [libc++] Verify span and string_view are trivially copyable
Arthur O'Dwyer via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Oct 7 07:56:08 PDT 2021
Quuxplusone added inline comments.
================
Comment at: libcxx/test/std/strings/string.view/trivially_copyable.compile.pass.cpp:20
+static_assert(std::is_trivially_copyable<std::basic_string_view<wchar_t> >::value, "");
+#if defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201811L
+static_assert(std::is_trivially_copyable<std::basic_string_view<char8_t> >::value, "");
----------------
`#ifndef _LIBCPP_HAS_NO_CHAR8_T` plz
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111197/new/
https://reviews.llvm.org/D111197
More information about the libcxx-commits
mailing list