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

std::queue::operator= - std::queue::operator=


queue& operator=( const queue& other ); (1)
queue& operator=( queue&& other ); (2) (since C++11)


Replaces the contents of the container adaptor with those of other.


1) Copy assignment operator. Replaces the contents with a copy of the contents of
other. Effectively calls c = other.c;. (implicitly declared)
2) Move assignment operator. Replaces the contents with those of other using move
semantics. Effectively calls c = std::move(other.c); (implicitly declared)


other - another container adaptor to be used as source


*this


Equivalent to that of operator= of the underlying container.


constructor constructs the queue
(public member function)

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.