While trying to create a cpp set of objects, I came across this question
How do i insert objects into STL set But my doubt is that, is there any way to not store actual objects in the set but pointers to them and still be able to maintain the unique entity property of the set.
Aucun commentaire:
Enregistrer un commentaire