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