vendredi 8 janvier 2021

Is it ok to use shared_ptr

I have a question. Is it ok to use shared_ptr<vector<shared_ptr<T>>> as a member function of a class? In my code, it seems the elements in the vector cannot be accessed.

Aucun commentaire:

Enregistrer un commentaire