I\'m having trouble creating a class object from a template class in which I need the constructor to also be a template and accept a parameter when the object is created. Howev
You can force the instantiation of the template in another cpp file.
BinaryTree;
BinaryTree;
BinaryTree;
That way all the functions do not need to be in header files. Some people use the extension .inl for the files with the template implementations. So the .inl file is only needed when the instantiation doesn't already exist.