||=== Build: Debug in te (compiler: GNU GCC Compiler) ===|
C:\Users\Lorence\Desktop\te\main.cpp|16|warning: friend declaration 'void swap(Stack<T>&)' declares a non-template function [-Wnon-template-friend]|
C:\Users\Lorence\Desktop\te\main.cpp|16|note: (if this is not what you intended, make sure the function template has already been declared and add <> after the function name here) |
C:\Users\Lorence\Desktop\te\main.cpp|23|error: variable or field 'swap' declared void|
C:\Users\Lorence\Desktop\te\main.cpp|23|error: missing template arguments before '&' token|
C:\Users\Lorence\Desktop\te\main.cpp|23|error: expected primary-expression before ')' token|
C:\Users\Lorence\Desktop\te\main.cpp|24|error: no 'void Stack<T>::swap(Stack<T>&)' member function declared in class 'Stack<T>'|
C:\Users\Lorence\Desktop\te\main.cpp||In function 'int main()':|
C:\Users\Lorence\Desktop\te\main.cpp|96|error: 'class Stack<int>' has no member named 'swap'|