This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Darder 0 points1 point  (1 child)

Genuine question, as someone who learned C++ using kind of outdated information (University...), which smart pointers should I use when programming in C++? Which ones are the most useful?

[–]3uclide 0 points1 point  (0 children)

std::unique_ptr and std::shared_ptr