chris jefferson <caj@cs.york.ac.uk> writes:
| Not another C++ project, but I recently happened to mark a
university
| C++ project which involved a list of tasks which were handled
FIFO and
| also had to check if the list of tasks to do ever got too large.
This
| doesn't seem an unreasonable thing to do.
|
| The obvious way to solve this, and the way everyone did, was to
use a
| std::list to hold the tasks.
Why std::deque wasn't appropriate?
My conjecture is that people use std::list when in fact a better data
structures exist.