std::ranges::chunk_view<V>:: begin
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|
||||||||||||||||
| Member functions | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
chunk_view::begin
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
(C++26)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
V
models only
input_range
|
||
|
constexpr
/*outer_iterator*/
begin
(
)
;
|
(1) | (since C++23) |
V
models
forward_range
|
||
|
constexpr
auto
begin
(
)
requires
(
!
/*simple_view*/
<
V
>
)
;
|
(2) | (since C++23) |
|
constexpr
auto
begin
(
)
const
requires
ranges::
forward_range
<
const
V
>
;
|
(3) | (since C++23) |
Returns an
iterator
to the first element of the
chunk_view
.
input_range
. Equivalent to
current_
=
ranges::
begin
(
base_
)
;
remainder_
=
n_
;
return
outer_iterator
(
*
this
)
;
forward_range
. Equivalent to
return
iterator
<
false
>
(
this,
ranges::
begin
(
base_
)
)
;
.
forward_range
. Equivalent to
return
iterator
<
true
>
(
this,
ranges::
begin
(
base_
)
)
;
.
Return value
An iterator to the first element of the
chunk_view
, as described above.
Example
|
This section is incomplete
Reason: no example |
See also
|
returns an iterator or a sentinel to the end
(public member function) |
|
|
(C++20)
|
returns an iterator to the beginning of a range
(customization point object) |