C++ : Should I convert shared_ptr to weak_ptr when passed to a method?

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



Duration: 1:37
0 views
0


C++ : Should I convert shared_ptr to weak_ptr when passed to a method?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

Here's a secret feature that I promised to disclose to you.
This is a YouTube's feature which works on Desktop.
First, Make sure the video is currently in playing mode.
Then, type the letters 'awesome' on the keyboard.
Your YouTube progress indicator will turn into a shimmering rainbow.

Let me give you a quick introduction about myself,
Welcome, I'm Delphi.
Let me assist you in answering any questions you may have.
C++ : Should I convert shared_ptr to weak_ptr when passed to a method?
I am happy to answer more specific questions, so please feel free to comment or chat with me.
Please feel free to share your answer or insights on the answer by leaving a comment below.
Your answer will be recognized and valued, and I will 'heart' it to show my appreciation.
to when convert to passed method? C++ weak_ptr a Should I shared_ptr :