Hi there, I am trying to create a global template function that can be used anywhere in my project. I have currently declared the function in a header file "tools.h" inside of a namespace as follows:
However, when I try to call this function from another piece of code in the project, I get a Linker error (LNK2019) saying that the function (when used as a parameter in another function) is undefined. I've tried several things but I'm not sure what might be causing this error. Any help would be appreciated! Thanks!