std::experimental::ranges::tagged<Base,Tags...>:: tagged
using
Base
::
Base
;
|
(1) | |
tagged
(
)
=
default
;
|
(2) | |
tagged
(
tagged
&&
that
)
=
default
;
|
(3) | |
tagged
(
const
tagged
&
that
)
=
default
;
|
(4) | |
tagged
(
Base
&&
that
)
noexcept
(
std::
is_nothrow_move_constructible
<
Base
>
::
value
)
requires MoveConstructible < Base > ; |
(5) | |
tagged
(
const
Base
&
that
)
noexcept
(
std::
is_nothrow_copy_constructible
<
Base
>
::
value
)
requires CopyConstructible < Base > ; |
(6) | |
template
<
class
Other
>
requires Constructible
<
Base, Other
>
|
(7) | |
template
<
class
Other
>
requires Constructible
<
Base,
const
Other
&
>
|
(8) | |
Constructs a
tagged
object.
tagged<Base, Tags...>
inherits the constructors of
Base
.
tagged
has defaulted default, copy, and move constructors that invoke the corresponding constructor of
Base
.
Base
. Initializes the
Base
subobject with
std
::
move
(
that
)
.
Base
. Initializes the
Base
subobject with
that
.
tagged
specialization with matching tags. Initializes the
Base
subobject with
static_cast
<
Other
&&
>
(
that
)
.
tagged
specialization with matching tags. Initializes the
Base
subobject with
static_cast
<
const
Other
&
>
(
that
)
.