25
Iterators library
[iterators]
25.5
Iterator adaptors
[predef.iterators]
25.5.3
Constant iterators and sentinels
[const.iterators]
25.5.3.4
Member types
[const.iterators.types]
1
#
basic_
const_
iterator
<
Iterator
>
::
iterator_
concept
is defined as follows:
(1.1)
If
Iterator
models
contiguous_
iterator
, then
iterator_
concept
denotes
contiguous_
iterator_
tag
.
(1.2)
Otherwise, if
Iterator
models
random_
access_
iterator
, then
iterator_
concept
denotes
random_
access_
iterator_
tag
.
(1.3)
Otherwise, if
Iterator
models
bidirectional_
iterator
, then
iterator_
concept
denotes
bidirectional_
iterator_
tag
.
(1.4)
Otherwise, if
Iterator
models
forward_
iterator
, then
iterator_
concept
denotes
forward_
iterator_
tag
.
(1.5)
Otherwise,
iterator_
concept
denotes
input_
iterator_
tag
.
2
#
The member
typedef-name
iterator_
category
is defined if and only if
Iterator
models
forward_
iterator
.
In that case,
basic_
const_
iterator
<
Iterator
>
::
iterator_
category
denotes the type
iterator_
traits
<
Iterator
>
::
iterator_
category
.