Difference between revisions of "Template:cpp/container/dsc iterator"
From cppreference.com
D41D8CD98F (Talk | contribs) m |
m (+inplace_vector.) |
||
(19 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#switch:{{{1|}}} | + | {{#switch:{{{1|array}}} |
− | | array = {{dsc | {{tt|iterator}} | {{ | + | |array={{dsc|{{tt|iterator}}|{{rrev multi|noborder=false|rev1={{named req|RandomAccessIterator}} and {{named req|ContiguousIterator}} to {{tt|value_type}}|since2=c++17|rev2={{named req|RandomAccessIterator}} and {{named req|ContiguousIterator}} that is a {{named req|LiteralType}}<!--P0031--> to {{tt|value_type}}|since3=c++20|rev3={{named req|RandomAccessIterator}}, {{lconcept|contiguous_iterator}}, and {{named req|ConstexprIterator}} to {{tt|value_type}}}}}} |
− | | | + | |vector |
− | | | + | |basic_string={{dsc|{{tt|iterator}}|{{rrev multi|noborder=false|rev1={{named req|RandomAccessIterator}} and {{named req|ContiguousIterator}} to {{tt|value_type}}|since2=c++20|rev2={{named req|RandomAccessIterator}}, {{lconcept|contiguous_iterator}}, and {{named req|ConstexprIterator}} to {{tt|value_type}}}}}} |
− | | | + | |vector_bool={{dsc|{{tt|iterator}}|{{rrev multi|noborder=false|rev1=implementation-defined|since2=c++20|rev2=implementation-defined {{named req|ConstexprIterator}}}}}} |
− | | basic_string = {{dsc | {{tt|iterator}} | {{ | + | |deque={{dsc|{{tt|iterator}}|{{named req|RandomAccessIterator}} to {{tt|value_type}}}} |
− | | | + | |set |
− | | | + | |multiset={{dsc|{{tt|iterator}}|Constant {{named req|BidirectionalIterator}} to {{tt|value_type}}}} |
− | | | + | |list |
− | | list | + | |map |
− | | map | + | |multimap={{dsc|{{tt|iterator}}|{{named req|BidirectionalIterator}} to {{tt|value_type}}}} |
− | | multimap = {{dsc | {{tt|iterator}} | {{ | + | |unordered_set |
− | | unordered_set | + | |unordered_multiset={{dsc|{{tt|iterator}}|Constant {{named req|ForwardIterator}} to {{tt|value_type}}}} |
− | | unordered_multiset = {{dsc | {{tt|iterator}} | Constant {{ | + | |forward_list |
− | | forward_list | + | |unordered_map |
− | | unordered_map | + | |unordered_multimap={{dsc|{{tt|iterator}}|{{named req|ForwardIterator}} to {{tt|value_type}}}} |
− | | unordered_multimap = {{dsc | {{tt|iterator}} | {{ | + | |inplace_vector |
+ | |flat_set | ||
+ | |flat_multiset={{dsc|{{tt|iterator}}|implementation-defined {{named req|RandomAccessIterator}} and {{lconcept|random_access_iterator}} to {{tt|value_type}}}} | ||
+ | |flat_map | ||
+ | |flat_multimap={{dsc|{{tt|iterator}}|implementation-defined {{named req|InputIterator}} and {{lconcept|random_access_iterator}} to {{tt|value_type}}}} | ||
}} | }} |
Latest revision as of 21:35, 5 August 2024
|- class="t-dsc"
| iterator
LegacyRandomAccessIterator and LegacyContiguousIterator to |
(until C++17) |
LegacyRandomAccessIterator and LegacyContiguousIterator that is a LiteralType to |
(since C++17) (until C++20) |
LegacyRandomAccessIterator, |
(since C++20) |
|-