class C{
private:
int i;//private member
public:
C();
};
Implementation
1 2 3 4 5 6 7 8
#include "header.hpp"
C::C()
{
};
int main(){
return 0;
};
When you compile your code, the header file is copied and pasted into the place where it is included before the compiler even gets to look at it. No only does it make no difference - the compiler literally cannot tell that the header file is a separate file.