std::experimental::ranges::tagged<Base,Tags...>:: operator=
|
tagged
&
operator
=
(
tagged
&&
that
)
=
default
;
|
(1) | |
|
tagged
&
operator
=
(
const
tagged
&
that
)
=
default
;
|
(2) | |
|
template
<
class
Other
>
requiere Assignable
<
Base
&
, Other
>
|
(3) | |
|
template
<
class
Other
>
requiere Assignable
<
Base
&
,
const
Other
&
>
|
(4) | |
|
template
<
class
U
>
requiere Assignable
<
Base
&
, U
>
&&
!
Same
<
std::
decay_t
<
U
>
, tagged
>
|
(5) | |
Asigna el contenido de that a * this .
tagged
tiene operadores de asignación de copia y movimiento por defecto que invocan el operador de asignación correspondiente de
Base
.
tagged
diferente con etiquetas coincidentes. Equivalente a
static_cast
<
Base
&
>
(
*
this
)
=
static_cast
<
Other
&&
>
(
that
)
;
.
tagged
diferente con etiquetas coincidentes. Equivalente a
static_cast
<
Base
&
>
(
*
this
)
=
static_cast
<
const
Other
&
>
(
that
)
;
.
Base
. Equivalente a
static_cast
<
Base
&
>
(
*
this
)
=
std::
forward
<
U
>
(
that
)
;
.
Valor de retorno
* this .