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

std::queue::push - std::queue::push


void push( const value_type& value );
void push( value_type&& value ); (since C++11)


Pushes the given element value to the end of the queue.


1) Effectively calls c.push_back(value)
2) Effectively calls c.push_back(std::move(value))


value - the value of the element to push


(none)


Equal to the complexity of Container::push_back.


emplace constructs element in-place at the end
(C++11) (public member function)
pop removes the first element
(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.