I'm thinking about trying to use a deque container but I'm not sure if it is appropriate for my application.
I need a FIFO queue for strings so that I can add messages as they are received and pull them as I'm ready to process them. So I thought I'd add them to the end of the deque and pull them from the beginning of the deque.
Do I need to specify the size of the deque up front? What happens if I later need more room, would I have to redo the entire deque or is there some way to expand it "in-place".
If deque is not a good choice, what would be? Any examples, suggestions, ideas are appreciated.