Very informative video! I do have some additional questions however.
- What is the compilation overhead of including an unused header like say <map>? Is there any way to get a warning when a header is included but never used so that I can go and remove it?
- What is the compilation overhead of including a header with class declaration vs simply a forward declaration? What about for inline template classes like stl? Is there any way for the compiler or the analysis tool to let me know when I'm including a class declaration when a forward declaration is all that is needed (like <iosfwd>)?