std::basic_const_iterator<Iter>:: operator*
Iterator concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Iterator primitives | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Algorithm concepts and utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Indirect callable concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Common algorithm requirements | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Iterator adaptors | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Member functions | ||||
basic_const_iterator::operator*
basic_const_iterator::operator->
|
||||
Non-member functions | ||||
(C++23)
(C++23)
(C++23)
(C++23)
|
||||
(C++23)
|
||||
(C++23)
|
||||
Helper classes | ||||
constexpr
std::
iter_const_reference_t
<
Iter
>
operator
*
(
)
const
;
|
(1) | (since C++23) |
constexpr
const
auto
*
operator
-
>
(
)
const
requires
std::
is_lvalue_reference_v
<
std::
iter_reference_t
<
Iterator
>>
&&
|
(2) | (since C++23) |
Returns a reference or pointer to the const version of the current element.
Iter
models
contiguous_iterator
, returns
std::
to_address
(
base
(
)
)
; otherwise, returns
std::
addressof
(
*
base
(
)
)
.
Parameters
(none)
Return value
*base()
is a prvalue).
Example
This section is incomplete
Reason: no example |
See also
accesses an element by index
(public member function) |