mercredi 7 janvier 2015

Why is there no [] operator for std::shared_ptr?

I wonder what the rationale is behind the fact, that std::shared_ptr does not define the [] operator for arrays. In particular why does std::unique_ptr feature this operator but not std::shared_ptr?


Aucun commentaire:

Enregistrer un commentaire