This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++17 status.
<string_view>
Section: 24.7 [iterator.range], 27.3.2 [string.view.synop] Status: C++17 Submitter: Johel Ernesto Guerrero Peña Opened: 2016-10-29 Last modified: 2017-07-30
Priority: 0
View other active issues in [iterator.range].
View all other issues in [iterator.range].
View all issues with C++17 status.
Discussion:
27.3.2 [string.view.synop]/1 states
The function templates defined in 20.2.2 and 24.7 are available when
<string_view>
is included.
24.7 [iterator.range], in p1 is missing <string_view>
.
[Issues Telecon 16-Dec-2016]
Move to Tentatively Ready
Proposed resolution:
This wording is relative to N4606.
Edit 24.7 [iterator.range] p1 as indicated:
-1- In addition to being available via inclusion of the
<iterator>
header, the function templates in 24.7 are available when any of the following headers are included:<array>
,<deque>
,<forward_list>
,<list>
,<map>
,<regex>
,<set>
,<string>
,<string_view>
,<unordered_map>
,<unordered_set>
, and<vector>
.