If you have templates, everything must be in .h file. You can’t split template declaration and definition into .h and .cpp. (you can, but this is not very useful in most cases)
If you have templates, everything must be in .h file. You can’t split template declaration and definition into .h and .cpp. (you can, but this is not very useful in most cases)