Summary
Full Transcript
►Full C++ Series Playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd8j-tlhYVPYgiIyXduu6m-L ►Find full courses on: https://courses.mshah.io/ ►Join as Member to Support the channel: https://www.youtube.com/channel/UCA64pZbN5Mz5NxC3SO4qpDg/join ►Lesson Description: In this lesson I talk about the four keywords that were added to C++ 11, focusing primarily on static and dynamic cast. These named casts are generally more safe to use, easier to grep for, and can help you cast your data more safely when you absolutely must cast your data. I'll walk through several examples with a class hierarchy, and hopefully convince you that the named casts better show your intent of the code, and are much better than the C-style cast (which essentially is trying all of these named casts). ►YouTube Channel: https://www.youtube.com/c/MikeShah ►Please like and subscribe to help the channel!
