Title
span element access invalidation
Status
new
Section
[span.overview]
Submitter
Johel Ernesto Guerrero Peña

Created on 2019-05-04.00:00:00, last changed 2019-06-10.05:16:56.

Messages

Date: 2019-06-10.05:16:56

Proposed resolution:

This wording is relative to N4810.

  1. Modify [span.overview] as indicated:

    -4- ElementType is required to be a complete object type that is not an abstract class type.

    -?- For a span s, any operation that invalidates a pointer in the range [s.data(), s.data() + s.size()) invalidates pointers, iterators, and references other than *this returned from s's member functions.

Date: 2019-06-12.00:00:00

[ 2019-06-12 Priority set to 2 after reflector discussion ]

Date: 2019-05-04.00:00:00

span doesn't explicitly point out when its accessed elements are invalidated like string_view does in [string.view.iterators] p2.

History
Date User Action Args
2019-06-10 05:16:56adminsetmessages: + msg10433
2019-05-11 12:26:57adminsetmessages: + msg10401
2019-05-04 00:00:00admincreate