Question d’entretien chez SoftServe

Why using std::make_shared insted just new when creating an instance of std::shared_ptr?

Réponse à la question d'entretien

Utilisateur anonyme

12 mai 2021

Because it is faster, you eliminate object copying.