I am thinking of this solution, but not sure if it is correct.
Type* myObjP; void setSmth(Type& toBePassed) { myObjP = *toBePassed; };
Aucun commentaire:
Enregistrer un commentaire