|
| 1 | +<?xml version='1.0' encoding='utf-8' standalone='no'?> |
| 2 | +<!DOCTYPE issue SYSTEM "lwg-issue.dtd"> |
| 3 | + |
| 4 | +<issue num="4385" status="New"> |
| 5 | +<title>Including <tt><simd></tt> doesn't provide `std::begin/end` |
| 6 | +</title> |
| 7 | +<section> |
| 8 | +<sref ref="[iterator.range]"/> |
| 9 | +</section> |
| 10 | +<submitter>Hewill Kang</submitter> |
| 11 | +<date>26 Sep 2025</date> |
| 12 | +<priority>99</priority> |
| 13 | + |
| 14 | +<discussion> |
| 15 | +<p> |
| 16 | +`std::simd::basic_vec` and `std::simd::basic_mask` are ranges since <paper num="P3480R6"/>, |
| 17 | +it is reasonable to enable range access utilities when introducing <code><simd></code>. |
| 18 | +</p> |
| 19 | +</discussion> |
| 20 | + |
| 21 | +<resolution> |
| 22 | +<p> |
| 23 | +This wording is relative to <paper num="N5014"/>. |
| 24 | +</p> |
| 25 | + |
| 26 | +<ol> |
| 27 | + |
| 28 | +<li><p>Modify <sref ref="[iterator.range]"/> as indicated:</p> |
| 29 | + |
| 30 | +<blockquote> |
| 31 | +<p> |
| 32 | +-1- In addition to being available via inclusion of the <tt><iterator></tt> header, the function |
| 33 | +templates in <sref ref="[iterator.range]"/> are available when any of the following headers are included: |
| 34 | +<tt><array></tt>, |
| 35 | +<tt><deque></tt>, <tt><flat_map></tt>, <tt><flat_set></tt>, |
| 36 | +<tt><forward_list></tt>, |
| 37 | +<tt><hive></tt>, |
| 38 | +<tt><inplace_vector></tt>, <tt><list></tt>, <tt><map></tt>, |
| 39 | +<tt><regex></tt>, <tt><set></tt>, <ins><tt><simd></tt></ins>, |
| 40 | +<tt><span></tt>, <tt><string></tt>, <tt><string_view></tt>, |
| 41 | +<tt><unordered_map></tt>, <tt><unordered_set></tt>, and <tt><vector></tt>. |
| 42 | + |
| 43 | +</p> |
| 44 | +</blockquote> |
| 45 | + |
| 46 | +</li> |
| 47 | + |
| 48 | +</ol> |
| 49 | +</resolution> |
| 50 | + |
| 51 | +</issue> |
0 commit comments