queue::construct()
The constructor. Create an instance of class queue
queue::construct()
There are no parameters.
queue — Returns the instance of class queue
import adt/queue
queue = queue()
queue.push(10)
queue.push(12)
queue.push(8)
writeln(queue.pop())