Some of you may know the stack library I started developing for fun. I realized the C++ part was very poor so I decided to enchant it with template functions, I wrote them and everything compiled fine. The problem comes up when linking a project with the library (yes, I include the stack.hpp header), it says that there's no, for example, stack::push<int>(int) functions for linking but when I include the full source code it compiles&runs with no errors.
My question is how do I create static libraries with template functions?