Given the following declaration: template <typename T> class Stack;
Stack<int> is a template id, and Stack is not a template id.
Reference: C++ Templates by David Vandevoorde and Nicolai M. Jouttis. Addison-Wesley, 2003.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment