File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 18355
18355
\tcode{ElementType} is required to be
18356
18356
a complete object type that is not an abstract class type.
18357
18357
18358
+ \pnum
18359
+ For a \tcode{span} \tcode{s},
18360
+ any operation that invalidates a pointer in
18361
+ the range \range{s.data()}{s.data() + s.size()}
18362
+ invalidates pointers, iterators, and references to elements of \tcode{s}.
18363
+
18358
18364
\rSec4[span.cons]{Constructors, copy, and assignment}
18359
18365
18360
18366
\indexlibraryctor{span}%
Original file line number Diff line number Diff line change 751
751
any operation that invalidates a pointer
752
752
in the range
753
753
\begin {codeblock }
754
- @\range {str.data()}{\brk {} str.data() + str.size()}@
754
+ @\range {str.data()}{str.data() + str.size()}@
755
755
\end {codeblock }
756
756
invalidates pointers, iterators, and references
757
- returned from \tcode {str}'s member functions .
757
+ to elements of \tcode {str}.
758
758
759
759
\pnum
760
760
The complexity of \tcode {basic_string_view} member functions is \bigoh {1}
You can’t perform that action at this time.
0 commit comments