From Jason Turner

[const.iterators.types]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp15x869jf/{from.md → to.md} +20 -0
tmp/tmp15x869jf/{from.md → to.md} RENAMED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Member types <a id="const.iterators.types">[[const.iterators.types]]</a>
2
+
3
+ `basic_const_iterator<Iterator>::iterator_concept` is defined as
4
+ follows:
5
+
6
+ - If `Iterator` models `contiguous_iterator`, then `iterator_concept`
7
+ denotes `contiguous_iterator_tag`.
8
+ - Otherwise, if `Iterator` models `random_access_iterator`, then
9
+ `iterator_concept` denotes `random_access_iterator_tag`.
10
+ - Otherwise, if `Iterator` models `bidirectional_iterator`, then
11
+ `iterator_concept` denotes `bidirectional_iterator_tag`.
12
+ - Otherwise, if `Iterator` models `forward_iterator`, then
13
+ `iterator_concept` denotes `forward_iterator_tag`.
14
+ - Otherwise, `iterator_concept` denotes `input_iterator_tag`.
15
+
16
+ The member *typedef-name* `iterator_category` is defined if and only if
17
+ `Iterator` models `forward_iterator`. In that case,
18
+ `basic_const_iterator<Iterator>::iterator_category` denotes the type
19
+ `iterator_traits<{}Iterator>::iterator_category`.
20
+