diff --git a/d0/d62/struct_queue-members.html b/d0/d62/struct_queue-members.html
index 3dbb0b598..2d4d2c05a 100644
--- a/d0/d62/struct_queue-members.html
+++ b/d0/d62/struct_queue-members.html
@@ -110,16 +110,19 @@ $(function(){initNavTree('dc/db5/struct_queue.html','../../'); initResizable(tru
This is the complete list of members for Queue, including all inherited members.
diff --git a/dc/db5/struct_queue.html b/dc/db5/struct_queue.html
index 5c47df2d6..31590eee5 100644
--- a/dc/db5/struct_queue.html
+++ b/dc/db5/struct_queue.html
@@ -107,6 +107,7 @@ $(function(){initNavTree('dc/db5/struct_queue.html','../../'); initResizable(tru
@@ -120,8 +121,6 @@ Collaboration diagram for Queue:
|
|
-node * | front =nullptr |
+node * front = nullptr |
| |
|
-node * | rear =nullptr |
+node * rear = nullptr |
| |
+
+
+◆ ~Queue()
+
+
+
+
+
+
+
+
+ | Queue::~Queue |
+ ( |
+ | ) |
+ |
+
+
+ |
+
+inline |
+
+
+
+
16 {
+
17 while (front) {
+
18 dequeue();
+
19 }
+
20 }
+
+
+
◆ createNode()
@@ -169,17 +210,17 @@ Private Attributes
-inline |
+inlineprivate
-
13 {
-
-
15 nn->data = val;
-
16 nn->next = nullptr;
-
17 front = nn;
-
18 rear = nn;
-
19 }
+
23 {
+
+
25 nn->data = val;
+
26 nn->next = nullptr;
+
27 front = nn;
+
28 rear = nn;
+
29 }
struct node { int data; int height; struct node *left; struct node *right;} node
for std::queue
Definition avltree.cpp:13
@@ -206,14 +247,20 @@ Private Attributes
-
33 {
-
-
35 n = front;
-
36 if (n) {
-
37 front = front->next;
-
38 delete n;
-
39 }
-
40 }
+
43 {
+
44 if (front == nullptr) {
+
45 return;
+
46 }
+
47 const node*
const n = front;
+
48 if (front == rear) {
+
49 front = nullptr;
+
50 rear = nullptr;
+
51 } else {
+
52 front = front->next;
+
53 rear->next = front;
+
54 }
+
55 delete n;
+
56 }
Definition binary_search_tree.cpp:11
@@ -240,19 +287,17 @@ Private Attributes
-
20 {
-
21 if (front == nullptr || rear == nullptr) {
-
22 createNode(val);
-
23 }
-
24 else {
-
-
-
27 nn->data = val;
-
28 rear->next = nn;
-
29 nn->next = front;
-
30 rear = nn;
-
31 }
-
32 }
+
32 {
+
33 if (front == nullptr || rear == nullptr) {
+
34 createNode(val);
+
35 } else {
+
+
37 nn->data = val;
+
38 rear->next = nn;
+
39 nn->next = front;
+
40 rear = nn;
+
41 }
+
42 }
@@ -278,19 +323,18 @@ Private Attributes
-
41 {
-
-
43 ptr = front;
-
44 if (ptr) {
-
45 do {
-
-
47 ptr = ptr->next;
-
48 } while (ptr != rear->next);
-
-
50 }
-
51 }
+
57 {
+
58 if (front == nullptr) {
+
59 return;
+
60 }
+
61 const node* ptr = front;
+
62 do {
+
+
64 ptr = ptr->next;
+
65 } while (ptr != front);
+
+
67 }
-