std::regex_iterator<BidirIt,CharT,Traits>:: operator==,operator!=
From es.cppreference.net
<
cpp
|
regex
|
regex iterator
|
bool
operator
==
(
const
regex_iterator
&
rhs
)
const
;
|
(1) | (desde C++11) |
|
bool
operator
!
=
(
const
regex_iterator
&
rhs
)
const
;
|
(2) |
(desde C++11)
(hasta C++20) |
Compara dos
regex_iterator
s.
|
El operador
|
(since C++20) |
Parámetros
| rhs | - |
un
regex_iterator
para comparar
|
Valor de retorno
A modo de exposición, supongamos que
regex_iterator
contiene los siguientes miembros:
-
BidirIt begin; -
BidirIt end; - const regex_type * pregex ;
- std:: regex_constants :: match_flag_type flags ;
- std:: match_results < BidirIt > match ;
1)
Devuelve
true
si
*
this
y
rhs
son ambos iteradores de fin-de-secuencia, o si todas las siguientes condiciones son verdaderas:
- begin == rhs. begin
- end == rhs. end
- pregex == rhs. pregex
- flags == rhs. flags
- match [ 0 ] == rhs. match [ 0 ]
2)
Devuelve
!
(
*
this
==
rhs
)
.
Ejemplo
|
Esta sección está incompleta
Razón: sin ejemplo |