std::experimental::ranges::tagged<Base,Tags...>:: operator=
|
tagged
&
operator
=
(
tagged
&&
that
)
=
default
;
|
(1) | |
|
tagged
&
operator
=
(
const
tagged
&
that
)
=
default
;
|
(2) | |
|
template
<
class
Other
>
erfordert Assignable
<
Base
&
, Other
>
|
(3) | |
|
template
<
class
Other
>
erfordert Assignable
<
Base
&
,
const
Other
&
>
|
(4) | |
|
template
<
class
U
>
erfordert Assignable
<
Base
&
, U
>
&&
!
Same
<
std::
decay_t
<
U
>
, tagged
>
|
(5) | |
Weist den Inhalt von that an * this zu.
tagged
verfügt über standardmäßige Kopier- und Verschiebezuweisungsoperatoren, die den entsprechenden Zuweisungsoperator von
Base
aufrufen.
tagged
Spezialisierung mit übereinstimmenden Tags. Entspricht
static_cast
<
Base
&
>
(
*
this
)
=
static_cast
<
Other
&&
>
(
that
)
;
.
tagged
Spezialisierung mit übereinstimmenden Tags. Entspricht
static_cast
<
Base
&
>
(
*
this
)
=
static_cast
<
const
Other
&
>
(
that
)
;
.
Base
-Subobjekt zu. Entspricht
static_cast
<
Base
&
>
(
*
this
)
=
std::
forward
<
U
>
(
that
)
;
.
Rückgabewert
* this .