Is it possible to have shared_ptr pointing to a templated type enclosing it? For example,
shared_ptr
pair<shared_ptr<ThisPairType>, int>
How should this be defined?
Aucun commentaire:
Enregistrer un commentaire