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?
std::shared_ptr
[]
std::unique_ptr
Aucun commentaire:
Enregistrer un commentaire