Can’t a modern compiler do that already? Didn’t google but seems an obvious compiler feature at the very least behind a warning flag.
https://clang.llvm.org/extra/clang-tidy/checks/misc/include-...
Can’t a modern compiler do that already? Didn’t google but seems an obvious compiler feature at the very least behind a warning flag.