std::ranges::concat_view<Views...>:: iterator <Const>:: operator*
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|
||||||||||||||||
| Member functions | ||||
| Deduction guides | ||||
| Iterator | ||||
| Member functions | ||||
|
concat_view::
iterator
::operator*
|
||||
| Non-member functions | ||||
|
constexpr
decltype
(
auto
)
operator
*
(
)
const
;
|
(desde C++26) | |
Devuelve una referencia al elemento actual en el concat_view .
Equivalente a
using
reference
=
concat-reference-t
<
maybe-const
<
Const, Views
>
...
>
;
return
std::
visit
(
[
]
(
auto
&&
it
)
-
>
reference
{
return
*
it
;
}
,
it_
)
;
.
Si
it_
.
valueless_by_exception
(
)
es
true
, el comportamiento es indefinido.
Contenidos |
Valor de retorno
Como se describió anteriormente.
Notas
operator - > no está proporcionado.
Ejemplo
|
Esta sección está incompleta
Razón: sin ejemplo |
Véase también
|
(C++26)
|
accede a un elemento por índice
(función miembro pública) |