Title
*this is not invalidated
Status
new
Section
[string.view.template]
Submitter
Johel Ernesto Guerrero Peña

Created on 2020-06-26.00:00:00 last changed 1 week ago

Messages

Date: 2020-06-26.19:10:07

Proposed resolution:

This wording is relative to N4861.

  1. Modify [string.view.template] as indicated:

    -2- For a basic_string_view str, any operation that invalidates a pointer in the range [str.data(), str.data() + str.size()) invalidates pointers, iterators, and references to the elements in that range and its past-the-end iterator returned from str's member functions.

Date: 2020-06-26.00:00:00

[string.view.template] states:

For a basic_string_view str, any operation that invalidates a pointer in the range [str.data(), str.data() + str.size()) invalidates pointers, iterators, and references returned from str's member functions.

The assignment operators return a reference to *this, but *this is not invalidated.

History
Date User Action Args
2020-06-26 13:22:34adminsetmessages: + msg11350
2020-06-26 00:00:00admincreate