std::experimental::ranges::tagged<Base,Tags...>::operator= (3) - Linux Manuals
std::experimental::ranges::tagged<Base,Tags...>::operator=: std::experimental::ranges::tagged<Base,Tags...>::operator=
Command to display std::experimental::ranges::tagged<Base,Tags...>::operator=
manual in Linux: $ man 3 std::experimental::ranges::tagged<Base,Tags...>::operator=
NAME
std::experimental::ranges::tagged<Base,Tags...>::operator= - std::experimental::ranges::tagged<Base,Tags...>::operator=
Synopsis
tagged &operator=(tagged&& that) = default; (1)
tagged &operator=(const tagged& that) = default; (2)
template <class Other>
requires Assignable<Base&, Other> (3)
constexpr tagged& operator=(ranges::tagged<Other, Tags...>&& that)
noexcept(std::is_nothrow_assignable<Base&, Other>::value);
template <class Other>
requires Assignable<Base&, const Other&> (4)
constexpr tagged& operator=(const ranges::tagged<Other, Tags...>& that);
template <class U>
requires Assignable<Base&, U> && !Same<std::decay_t<U>, tagged> (5)
constexpr tagged& operator=(U&& that) noexcept(std::is_nothrow_assignable<Base&, U>::value);
Assigns the contents of that to *this.
1-2) tagged has defaulted copy and move assignment operators that invoke the corresponding assignment operator of Base.
3) Converting move assignment from a different tagged specialization with matching tags. Equivalent to static_cast<Base&>(*this) = static_cast<Other&&>(that);.
4) Converting copy assignment from a different tagged specialization with matching tags. Equivalent to static_cast<Base&>(*this) = static_cast<const Other&>(that);.
5) Assigns that to the Base subobject. Equivalent to static_cast<Base&>(*this) = std::forward<U>(that);
Return value
*this.
Pages related to std::experimental::ranges::tagged<Base,Tags...>::operator=
- std::experimental::ranges::tagged<Base,Tags...>::swap (3) - std::experimental::ranges::tagged<Base,Tags...>::swap
- std::experimental::ranges::tagged<Base,Tags...>::tagged (3) - std::experimental::ranges::tagged<Base,Tags...>::tagged
- std::experimental::ranges::tagged (3) - std::experimental::ranges::tagged
- std::experimental::ranges::tagged_pair (3) - std::experimental::ranges::tagged_pair
- std::experimental::ranges::tagged_tuple (3) - std::experimental::ranges::tagged_tuple
- std::experimental::ranges::tag::in,in1,in2,out,out1,out2,fun,min,max,begin,end (3) - std::experimental::ranges::tag::in,in1,in2,out,out1,out2,fun,min,max,begin,end
- std::experimental::ranges::Assignable (3) - std::experimental::ranges::Assignable
- std::experimental::ranges::BidirectionalIterator (3) - std::experimental::ranges::BidirectionalIterator
- std::experimental::ranges::BidirectionalRange (3) - std::experimental::ranges::BidirectionalRange
- std::experimental::ranges::Boolean (3) - std::experimental::ranges::Boolean
- std::experimental::ranges::BoundedRange (3) - std::experimental::ranges::BoundedRange
- std::experimental::ranges::Common (3) - std::experimental::ranges::Common
- std::experimental::ranges::CommonReference (3) - std::experimental::ranges::CommonReference
- std::experimental::ranges::Constructible (3) - std::experimental::ranges::Constructible
- std::experimental::ranges::ConvertibleTo (3) - std::experimental::ranges::ConvertibleTo
- std::experimental::ranges::CopyConstructible (3) - std::experimental::ranges::CopyConstructible
- std::experimental::ranges::Copyable (3) - std::experimental::ranges::Copyable
- std::experimental::ranges::DefaultConstructible (3) - std::experimental::ranges::DefaultConstructible
- std::experimental::ranges::DerivedFrom (3) - std::experimental::ranges::DerivedFrom
- std::experimental::ranges::Destructible (3) - std::experimental::ranges::Destructible
- std::experimental::ranges::EqualityComparable, (3) - std::experimental::ranges::EqualityComparable,
- std::experimental::ranges::EqualityComparable,std::experimental::ranges::EqualityComparableWith (3) - std::experimental::ranges::EqualityComparable,std::experimental::ranges::EqualityComparableWith
- std::experimental::ranges::ForwardIterator (3) - std::experimental::ranges::ForwardIterator
- std::experimental::ranges::ForwardRange (3) - std::experimental::ranges::ForwardRange
- std::experimental::ranges::Incrementable (3) - std::experimental::ranges::Incrementable
- std::experimental::ranges::IndirectRelation (3) - std::experimental::ranges::IndirectRelation
- std::experimental::ranges::IndirectStrictWeakOrder (3) - std::experimental::ranges::IndirectStrictWeakOrder
- std::experimental::ranges::IndirectUnaryInvocable, (3) - std::experimental::ranges::IndirectUnaryInvocable,
- std::experimental::ranges::IndirectUnaryInvocable,std::experimental::ranges::IndirectRegularUnaryInvocable (3) - std::experimental::ranges::IndirectUnaryInvocable,std::experimental::ranges::IndirectRegularUnaryInvocable
- std::experimental::ranges::IndirectUnaryPredicate (3) - std::experimental::ranges::IndirectUnaryPredicate
- std::experimental::ranges::IndirectlyComparable (3) - std::experimental::ranges::IndirectlyComparable