Namespaces
Variants
Views
Actions

Difference between revisions of "Template:cpp/container/dsc iterator"

From cppreference.com
m
m (+inplace_vector.)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#switch:{{{1|}}}
+
{{#switch:{{{1|array}}}
| array = {{dsc | {{tt|iterator}} | {{rrev multi | noborder=true | rev1={{named req|ContiguousIterator}} to {{tt|value_type}} | since=c++17 | rev2={{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}} }} }}
+
|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
+
|vector
| basic_string = {{dsc | {{tt|iterator}} | {{rrev multi | noborder=true | rev1={{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}} }} }}
+
|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=true | rev1=implementation-defined | since2=c++20 | rev2=implementation-defined {{named req|ConstexprIterator}} }} }}
+
|vector_bool={{dsc|{{tt|iterator}}|{{rrev multi|noborder=false|rev1=implementation-defined|since2=c++20|rev2=implementation-defined {{named req|ConstexprIterator}}}}}}
| deque = {{dsc | {{tt|iterator}} | {{named req|RandomAccessIterator}} to {{tt|value_type}} }}
+
|deque={{dsc|{{tt|iterator}}|{{named req|RandomAccessIterator}} to {{tt|value_type}}}}
| set
+
|set
| multiset = {{dsc | {{tt|iterator}} | Constant {{named req|BidirectionalIterator}} to {{tt|value_type}} }}
+
|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}}|{{named req|BidirectionalIterator}} to {{tt|value_type}}}}
| unordered_set
+
|unordered_set
| unordered_multiset = {{dsc | {{tt|iterator}} | Constant {{named req|ForwardIterator}} to {{tt|value_type}} }}
+
|unordered_multiset={{dsc|{{tt|iterator}}|Constant {{named req|ForwardIterator}} to {{tt|value_type}}}}
| 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}}|{{named req|ForwardIterator}} to {{tt|value_type}}}}
 +
|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 value_type

(until C++17)

LegacyRandomAccessIterator and LegacyContiguousIterator that is a LiteralType to value_type

(since C++17)
(until C++20)

LegacyRandomAccessIterator, contiguous_iterator, and ConstexprIterator to value_type

(since C++20)

|-