Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
davidl.me
David's Wiki
Search
Search
Log in
Personal tools
Log in
C++: Difference between revisions
Page
Discussion
English
Read
View source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
View source
View history
General
Special pages
Printable version
← Older edit
Newer edit →
C++
(view source)
Revision as of 17:14, 20 May 2022
1 byte removed
,
20 May 2022
→std::queue
Revision as of 15:40, 20 May 2022
(
view source
)
David
(
talk
|
contribs
)
(
→std::queue
)
← Older edit
Revision as of 17:14, 20 May 2022
(
view source
)
David
(
talk
|
contribs
)
(
→std::queue
)
Newer edit →
Line 524:
Line 524:
my_queue.push(a);
my_queue.push(a);
auto val = my_queue.front();
auto val = my_queue.front();
my_queue.pop(
a
); // returns void
my_queue.pop(); // returns void
</syntaxhighlight>
</syntaxhighlight>
David
Bureaucrats
,
Interface administrators
,
Administrators
5,321
edits
Toggle limited content width