Hello, this is my first time posting on these forums and my first time working with Templates so I do greatly appreciate everyone's time, thank you.
I'm creating a class which has two templitized functions, the purpose of the class if you're wondering is, to help construct a 'packet' of data from multiple variable types into a const char*
I do have the function defined, it seems like I need a separate instance defined for each type I could pass but that would defeat the purpose of the template.
You cannot have template definitions in separate files like this - templates have to be completely inline because the compiler needs to know their definitions at compile time, not link time, in order to instantiate them. Remove the .cpp file and keep the .hpp file.