IWYU and #pragma once

Hi, I’m not sure why we still need to use forward declaration and including files in the .cpp files after reading the following page on file dependecies by unreal. Also since we have #pragma once at the beginning of each header file, doesn’t it fast forward the compilation time by ignoring a already compiled file or is it not as fast as including what we need in cpp?

Privacy & Terms