Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
src_corelib_tools_qqueue.cpp
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
5
QQueue<int>
queue
;
6
queue
.enqueue(1);
7
queue
.enqueue(2);
8
queue
.enqueue(3);
9
while
(!
queue
.isEmpty())
10
cout <<
queue
.dequeue() << endl;
queue
QQueue< int > queue
[0]
Definition
src_corelib_tools_qqueue.cpp:5
qtbase
src
corelib
doc
snippets
code
src_corelib_tools_qqueue.cpp
Generated by
1.10.0