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::propagate_const::operator=(3) C++ Standard Libary std::experimental::propagate_const::operator=(3)

std::experimental::propagate_const::operator= - std::experimental::propagate_const::operator=


constexpr propagate_const& operator=( (1) (library fundamentals TS v2)
propagate_const&& p ) = default;
template<class U>
constexpr propagate_const& operator=( (2) (library fundamentals TS v2)
propagate_const<U>&& pu );
template<class U> (3) (library fundamentals TS v2)
constexpr propagate_const& operator=( U&& u );
propagate_const& operator=( const propagate_const& (4) (library fundamentals TS v2)
) = delete;


Let t_ designate the private data member that is the wrapped pointer-like object.


1) Explicitly defaulted move assignment operator that move assigns this->t_ from
p.t_.
2) Assigns std::move(pu.t_) to this->t_.
This overload participates in overload resolution only if U is implicitly
convertible to T.
3) Assigns std::forward<U>(u) to this->t_.
This overload participates in overload resolution only if U is implicitly
convertible to T and std::decay_t<U> is not a specialization of propagate_const.
4) Copy assignment operator is explicitly deleted. propagate_const is non-copyable.


p - another propagate_const object to move from
pu - another propagate_const object of a different specialization to move from
u - another object to assign to the contained pointer


*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.