Just a little question.

stack<int> mystack;

Does this line mean the object mystack only accept integer??

Thanks!
Yes, well, it might "accept" say float and cast it to an integer, but the stack itself can only contain ints
Topic archived. No new replies allowed.