lundi 2 mars 2020

What is the correct syntax for std::vector

I have read that I need to define a deleter for a unique_ptr if I want to use push_back from std::vector<std::unique_ptr<T>>. Is that true? If yes what's the correct syntax to do that?

Thank you for your answers

Aucun commentaire:

Enregistrer un commentaire