From Jason Turner
Watch on YouTube

Summary

In this third episode of the Learning Modern C++ series, Jason demonstrates how static analysis tools can help identify and fix common inheritance-related issues. Using clang-tidy and Visual Studio's compiler, he shows how the tools catch uninitialized class members, function hiding vs. overriding problems, memory leaks, and improper virtual destructor implementations. The episode also covers the Rule of Five (or Zero) and demonstrates how modern C++ practices like std::unique_ptr eliminate manual memory management issues.

Resources

Tags