It is really amazing video with deep explanation no one explaining like that.This channel helped me lot to understand the complex c++ concept in easy way.
Nice description but it will be great if you can show template class of each pointer along with it . It will help any one to understand working of pointers easily.
Are there any vidoes on move semantics? At least I do not find those in this channel. If it is already there, please share the link. If not, are you planning to create one?
I tried this shared1 -> weak -> shared and shared2 -> weak ->shared. Both shared1 and shared2 point to the same weak pointer which also point to the original shared pointer. Number of use_count is always 2. Why not 3?
Would it make sense for a map that maps integers to pointers that point to unique_ptr's in a vector to store weak_ptr's? I am considering changing the pointers stored in the vector to shared_ptr's and putting shared_ptr's in the map as well, but I feel like it doesn't make sense that the map owns the data every bit as much as the vector does. Would this be an appropriate place to use weak_ptr? That the map only stores weak_ptr's to the data, while the vector stores shared_ptr's? Or is weak_ptr only supposed to be used to break circular dependencies?
thanks again Rupesh for wonderfull videos.. just suggestion if you are declaring any varibale pls name with some differnet name like my_sharedptr instead sharedptr or weakPtr .. some time its confusing is it standard definition or user defined..anyways again thanks for sharing knowledge.
As mentioned before. There are very few you-tubers who displays so amazing the beauty of C++ language. Thanks.
Thanks, it means a lot..
It is really amazing video with deep explanation no one explaining like that.This channel helped me lot to understand the complex c++ concept in easy way.
Glad to hear that
This channel is my version of stack overflow. One stop for all my doubts.
Thanks man...
The cyclic dependency example is the key!
Correct!!
In one interview I was asked to implement shared_ptr class and explain how reference count work. I know it but would like to see that video here.
Thank you so much for the clean and clear explanation.
Glad it was helpful!
Worth, more than the paid courses, really hail to you sir 🙌
Nice explanation, highly recommended.
Thanks..
Good explanations on your series - enjoyed this. Nicely done.
Glad you like them!
Great explanation! Thank you!
Can you suggest a place or resources where we can practice c++ programs
Go with the mcq i have, you will have enough practice.
Nice description but it will be great if you can show template class of each pointer along with it . It will help any one to understand working of pointers easily.
a very good explanation! thanks a lot 😊
Glad it was helpful!
Are there any vidoes on move semantics? At least I do not find those in this channel. If it is already there, please share the link. If not, are you planning to create one?
Sure..
@@CppNuts any updates??
I tried this shared1 -> weak -> shared and shared2 -> weak ->shared. Both shared1 and shared2 point to the same weak pointer which also point to the original shared pointer.
Number of use_count is always 2. Why not 3?
Would it make sense for a map that maps integers to pointers that point to unique_ptr's in a vector to store weak_ptr's? I am considering changing the pointers stored in the vector to shared_ptr's and putting shared_ptr's in the map as well, but I feel like it doesn't make sense that the map owns the data every bit as much as the vector does. Would this be an appropriate place to use weak_ptr? That the map only stores weak_ptr's to the data, while the vector stores shared_ptr's? Or is weak_ptr only supposed to be used to break circular dependencies?
thanks again Rupesh for wonderfull videos.. just suggestion if you are declaring any varibale pls name with some differnet name like my_sharedptr instead sharedptr or weakPtr .. some time its confusing is it standard definition or user defined..anyways again thanks for sharing knowledge.
Sure !!
When we are started the new batch in online classes?
I don't teach online
Good job bro .....keep posting 👍
Hi..! Could you brief out the case where the Weak pointer causes a memory leak..!
Great videos Thanks :)
Did i said weak pointers can cause memory leaks.
You haven't said here.! But just for knowledge I asked. If possible you could make a video on it.
Well explained...Great!!
Glad it was helpful!
what a tutorial! .great, explaining with examples. keep it up
Thanks man!!
It's that simple..........liked it
Thanks man..
i chuckled a bit when you said "if you have similar pee", anyways great tutorial man
If you use make_shared function instead of new then also it will work.
can you make paying option through digital platform like paytm ,gpay,phonepe.
UA-cam should enable that..
@@CppNuts but that request will be done from your side.
hey the video was good. if you can explain about the control block of shared_ptr and relation of the weak_ptr then it will be great
Can you pls share the code
Please make tutorial for C++ QT also.
QT is not my cup of tea.
Ur videos are awesome, explanation is good 👏🏻, how to became member of this channel.
Thanks..
There is a join button on channel page.
great videos!!!
Thanks dude...
Great !
Thanks..
The example sounds like a serial killer is explaining. lol . nice explanation though.
Good Job :)
Thanks for the visit
Request you please provide me the video on thread safe
Thread safe?
@@CppNuts thread safe on singalton class in cpp
Oh now i can recall it.
Ok i will try to fit in between my schedule. Thanks..
how can you use "was:" with Subject "You"??? YOU WERE IS correct
Imagine if you wrote "Daughter destructed" inside the destructor, lol At 15:11 you deleted and wrote the same thing. Haha
😂
Is this good tutorial.. One cannot eaisly tell