Can we write a myStack class that will be implemented in terms of std::stack so that it offers all of its member functions plus an additional feature: iterators?
I tried some options, but they seem to me not quite optimal.
Can we write a myStack class that will be implemented in terms of std::stack so that it offers all of its member functions plus an additional feature: iterators?
I tried some options, but they seem to me not quite optimal.