Explaining the RULE OF THREE (C++ Class Standards)
Vložit
- čas přidán 28. 11. 2022
- Understanding how your class manages memory can be crucial to the proper operation of your software.
next video (rule of five & zero): • Explaining the RULE OF... - Věda a technologie
I'm a senior web developer, just getting into game dev on my spare time, so I like these videos, haha, no time to learn cpp properly
I've never heard about rule of 3. Sometimes on interviews I just don't get what interviewer talks about till he starts to explain and then I like "uuuuuhh i knew it".
Thx for CMake videos.
The "new" keyword actually puts stuff on the heap and not the stack. The stack is what lives just temporarily inside the function
You are correct. Thanks for the correction.
@@CodeTechandTutorials no worries, keep up the good work
Actually, there are other several new operators, one of them can put data on the stack, another just allocates bytes without putting something at all.
I learn better when someone explains me stuff and shows it as well. So keep making videos like this please.
The way you explained shadow copy made it click for me, thank you!
this is awesome! I am currently going through my second year as a cs major. So learning all of this stuff, and having nice resources for it is really helpful. thank you!