title: Does Stack have iterators in C++?
body: <p>From what I know, stack does not have iterators in C++. For example, this post (<a href="https://stackoverflow.com/questions/525365/does-stdstack-expose-iterators">Does std::stack expose iterators?</a>) explicitly states that stack does not have iterators. However, I was told by my supervisor that stack in c++ should have iterators since it is a standard data structure and you can do stack.begin() (However, from what I know, there's no such syntax in standard C++). How do I convince him? Why stack does not have iterators in C++? </p>
  
  <p>Question#2: Thank you all for awesome answers. I think the question now comes down to: why doesn't it make sense to have iterators for stack?</p>