Frage im Vorstellungsgespräch bei SoftServe

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

Antwort im Vorstellungsgespräch

Anonym

12. Mai 2021

Because it is faster, you eliminate object copying.