Implementation of STL's deque container