I have this code and I have to create a copy constructor to create a deep copy of the passed object how to do it?
template<typename T>
class SSL {
struct Node {
T data;
Node* next;
};
Node* head = nullptr;
public:
// ...
};
Aucun commentaire:
Enregistrer un commentaire