mardi 25 octobre 2022

Issue With The Return Type of Functions Definition in Implementation File (C++)

I am trying to define a function with a return type that is an object of a struct. Do I need to do anything special when doing this as a template in an implementation file?

I'm guessing that I have to do something special when the return type isn't a primitive data type, but I can't find what that is. Thank you!

this is my header file

this is my implementation file

Aucun commentaire:

Enregistrer un commentaire