I understand move constructor, but in some places I see move constructor is deleted. In what scenarios is deleting a move constructor is useful/makes sense?
Even if the the object needs to be singleton, we can delete the copy constructor but not the move constructor.
Aucun commentaire:
Enregistrer un commentaire