GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::experimental::ranges::tagged::operator=(3) C++ Standard Libary std::experimental::ranges::tagged::operator=(3)

std::experimental::ranges::tagged::operator= - std::experimental::ranges::tagged::operator=


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);


*this.

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.