Questions tagged [stddeque]

std::deque is the C++ implementation of a double-ended queue provided by the STL

std::deque (double-ended queue) is an indexed sequence container that allows fast insertion and deletion at both its beginning and its end. See here for more information.

31 questions
-3
votes
1 answer

deque push back default constructor not called

I implemented a class following the rule of three, and I am getting a crash. Upon debugging I have came to the conclusion that in the copy constructor line number 51, the pointer oQueue is not NULL due to some internal logic of deque and hence the…
Daniyal Yasin
  • 142
  • 1
  • 14
1 2
3