Namespaces
Variants
Views
Actions

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

From cppreference.com
m (testing with "noborder=false")
m (+inplace_vector.)
 
(One intermediate revision by one user not shown)
Line 2: Line 2:
 
|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}}}}}}
 
|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|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}}}}}}
+
|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
Line 15: Line 15:
 
|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_set
 
|flat_multiset={{dsc|{{tt|iterator}}|implementation-defined {{named req|RandomAccessIterator}} and {{lconcept|random_access_iterator}} to {{tt|value_type}}}}
 
|flat_multiset={{dsc|{{tt|iterator}}|implementation-defined {{named req|RandomAccessIterator}} 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)

|-