why compiler creates implicit constructors. Whats the advantage of creating it .
At least that you would be able to deal with old C structures.:)
Because if you wrote a class without any constructors, you wouldn't ever be able to create an instance of it.
Edit: And, as vlad says, this is crucial for backwards compatibility with C structures.
Last edited on