mercredi 24 août 2016

any difference in constructing shared pointer

what is difference between

auto sp = std::make_shared<Foo>();

auto sp(std::make_shared<Foo>());

Detailed explanation is needed.

Aucun commentaire:

Enregistrer un commentaire