Dependency Inversion in modern C++ We use the classic example of the power switch and the light bulb to explain the dependency inversion pattern in C++. More about that in the coding Adventures blog post.