File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -169,6 +169,17 @@ static_assert(std::is_trivially_copy_assignable<Str>::value,
169169 " trivial operator=(const Str &)" );
170170static_assert (std::is_trivially_destructible<Str>::value, " trivial ~Str()" );
171171
172+ static_assert (std::is_trivially_copy_constructible<Slice<const uint8_t >>::value,
173+ " trivial Slice(const Slice &)" );
174+ static_assert (std::is_trivially_move_constructible<Slice<const uint8_t >>::value,
175+ " trivial Slice(Slice &&)" );
176+ static_assert (std::is_trivially_copy_assignable<Slice<const uint8_t >>::value,
177+ " trivial Slice::operator=(const Slice &) for const slices" );
178+ static_assert (std::is_trivially_move_assignable<Slice<const uint8_t >>::value,
179+ " trivial Slice::operator=(Slice &&)" );
180+ static_assert (std::is_trivially_destructible<Slice<const uint8_t >>::value,
181+ " trivial ~Slice()" );
182+
172183extern " C" {
173184const char *cxxbridge1$error(const char *ptr, size_t len) {
174185 char *copy = new char [len];
You can’t perform that action at this time.
0 commit comments