Answer the question
In order to leave comments, you need to log in
Where should smart pointers be used?
Greetings.
Actually, I started reading a book on STL, first there is a brief overview of C ++ 11.
I really liked smart pointers. When should you use them and which one? Is it necessary, for example, to declare an array with std::unique_ptr , etc.
Thank you.
Answer the question
In order to leave comments, you need to log in
When to use them
Actually, I started reading a book on STL, first there is a brief overview of C ++ 11.
I really liked smart pointers. When should you use them and which one?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question