Skip to content

Commit 4372345

Browse files
authored
Merge 2021-10 LWG Motion 14
P2251R1 Require span & basic_string_view to be Trivially Copyable
2 parents c3a973b + eb5ede3 commit 4372345

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

source/containers.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11061,6 +11061,9 @@
1106111061
}
1106211062
\end{codeblock}
1106311063

11064+
\pnum
11065+
\tcode{span<ElementType, Extent>} is a trivially copyable type\iref{basic.types.general}.
11066+
1106411067
\pnum
1106511068
\tcode{ElementType} is required to be
1106611069
a complete object type that is not an abstract class type.

source/strings.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4272,6 +4272,9 @@
42724272
The complexity of \tcode{basic_string_view} member functions is \bigoh{1}
42734273
unless otherwise specified.
42744274

4275+
\pnum
4276+
\tcode{basic_string_view<charT, traits>} is a trivially copyable type\iref{basic.types.general}.
4277+
42754278
\rSec3[string.view.cons]{Construction and assignment}
42764279

42774280
\indexlibraryctor{basic_string_view}%

0 commit comments

Comments
 (0)