Difference between revisions of "Template:cpp/container/dsc iterator"
From cppreference.com
m (Text replace - "{{concept" to "{{named req") |
|||
Line 1: | Line 1: | ||
{{#switch:{{{1|}}} | {{#switch:{{{1|}}} | ||
− | | array = {{dsc | {{tt|iterator}} | {{ | + | | array = {{dsc | {{tt|iterator}} | {{named req|RandomAccessIterator}}{{rev inl|since=c++20| and {{named req|ConstexprIterator}}}}{{rev inl|since=c++17|that is a {{named req|LiteralType}}<!--side effect of P0031-->}} }} |
| vector | | vector | ||
| deque | | deque | ||
− | | basic_string = {{dsc | {{tt|iterator}} | {{ | + | | basic_string = {{dsc | {{tt|iterator}} | {{named req|RandomAccessIterator}} }} |
| vector_bool = {{dsc | {{tt|iterator}} | implementation-defined }} | | vector_bool = {{dsc | {{tt|iterator}} | implementation-defined }} | ||
| set | | set | ||
− | | multiset = {{dsc | {{tt|iterator}} | Constant {{ | + | | multiset = {{dsc | {{tt|iterator}} | Constant {{named req|BidirectionalIterator}} }} |
| list | | list | ||
| map | | map | ||
− | | multimap = {{dsc | {{tt|iterator}} | {{ | + | | multimap = {{dsc | {{tt|iterator}} | {{named req|BidirectionalIterator}} }} |
| unordered_set | | unordered_set | ||
− | | unordered_multiset = {{dsc | {{tt|iterator}} | Constant {{ | + | | unordered_multiset = {{dsc | {{tt|iterator}} | Constant {{named req|ForwardIterator}} }} |
| forward_list | | forward_list | ||
| unordered_map | | unordered_map | ||
− | | unordered_multimap = {{dsc | {{tt|iterator}} | {{ | + | | unordered_multimap = {{dsc | {{tt|iterator}} | {{named req|ForwardIterator}} }} |
}} | }} |