C++ : Should I use shared_ptr or weak_ptr on not mainly containers?

Channel:
Subscribers:
76,800
Published on ● Video Link: https://www.youtube.com/watch?v=DnFwKO1Yu34



Duration: 1:36
0 views
0


C++ : Should I use shared_ptr or weak_ptr on not mainly containers?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

I promised to reveal a secret feature to you, and now it's time to share it.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
After that, type the word 'awesome' on your keyboard.
The progress bar on YouTube will be altered to a flashing rainbow.

A little intro about me,
Hello there, my name is Delphi.
Allow me to support you in answering your questions.
C++ : Should I use shared_ptr or weak_ptr on not mainly containers?
I welcome your comments and chats if you have more detailed queries.
Please feel free to share your answer or insights on the answer by leaving a comment below.
A 'heart' from me will be given as a sign of appreciation for your answer.
or containers? not I on : C++ weak_ptr Should shared_ptr mainly use