std::deque is rather well documented in CppReference, but boost::deque's documentation seems to be equivalent to that of the standard, with the addition of a few methods such as nth and index_of.
Are there other differences between the two classes that I am missing?
Yes, there are other differences. For example, boost::deque can be instantiated with incomplete types. So you can have this:
struct foo
{
  boost::deque<foo> foos;
};
whereas the following causes undefined behaviour (although it may work well on certain implementations.)
struct foo
{
  std::deque<foo> foos;
};
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With