From 51e29fcf7dbee0067d312fadba9096bc3fa36889 Mon Sep 17 00:00:00 2001 From: Vamsi Krishna Date: Sat, 17 Nov 2018 10:10:18 +0530 Subject: [PATCH] Fixed typo from 'LIFO' to 'FIFO' (#22226) --- guide/english/cplusplus/queue/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/cplusplus/queue/index.md b/guide/english/cplusplus/queue/index.md index 68cf30bc11..48fca5c910 100644 --- a/guide/english/cplusplus/queue/index.md +++ b/guide/english/cplusplus/queue/index.md @@ -10,7 +10,7 @@ title: queue The data type you store within a queue goes within angle brackets next to the queue keyword. For example, if you would like to store a collection of integers the queue would be `std::queue queue_name` -### Queue LIFO Explanation +### Queue FIFO Explanation `queue` allows us to push/enqueue and pop/dequeue in specific order. **Push** means inserting an object at the front of the queue. **Pop** means pulling out the "oldest" object from end of the queue. So when you push it is at the front and when you pop you extract the oldest element.