Jun 26, 2013 at 12:23pm
why compiler creates implicit constructors. Whats the advantage of creating it .
Jun 26, 2013 at 1:01pm
At least that you would be able to deal with old C structures.:)
Jun 26, 2013 at 1:04pm
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 Jun 26, 2013 at 1:05pm