23
Iterators library
[iterators]
23.5
Iterator adaptors
[predef.iterators]
23.5.4
Common iterators
[iterators.common]
23.5.4.5
Navigation
[common.iter.nav]
🔗
common_iterator
&
operator
+
+
(
)
;
1
#
Preconditions
:
holds_alternative
<
I
>
(
v_
)
.
2
#
Effects
: Equivalent to
+
+
get
<
I
>
(
v_
)
.
3
#
Returns
:
*
this
.
🔗
decltype
(
auto
)
operator
+
+
(
int
)
;
4
#
Preconditions
:
holds_alternative
<
I
>
(
v_
)
.
5
#
Effects
: If
I
models
forward_iterator
, equivalent to:
common_iterator tmp
=
*
this
;
+
+
*
this
;
return
tmp;
Otherwise, equivalent to:
return
get
<
I
>
(
v_
)
+
+
;