General Question here. Recently i was doing a school project and my code compiled on my PC but failed on the PC at my school because a header was missing. How is this possible when I used the same compiler (g++) and the same standard (C++17) form the same Makefile on both machines.
The header that was missing was <functional>
used for std::function. On my PC i didn't need to include it I just called std::function and it worked.