Whats the difference between Function and Constructor in C++