indexed deque using c++ STL