Hi!
When defining a new object m of class MyClass, with no parameters to
the constructor, one is supposed to write "MyClass m;". If one wants to
pass a parameter p to the constructor, one is supposed to write
"MyClass m(p);". It doesn't work if one writes "MyClass m();" when one
wants to pass zero parameters. Why is that? It seems inelegant and
non-symmetric to me. What reason is there behind this?
/ Me, seeking insights into C++