This is allowed.
Doesn't seem logical. Is this mentioned in the language specifications ?Code:class A{ }; int main(int argc, char* argv[]){ A a = {1, 2, 3 , 4}; return 0; }
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 14 of 14
Threaded View
|
Click Here to Expand Forum to Full Width |