Hello!

What's the difference between declaring a variable in these ways:

1) int a;
2) int(a);

Both compile fine on GCC 3.4.5. If they are semantically identical, perhaps there any other differences, for instance in generated code?

And one more thing, where is the C++ language specification online? Does it say anything about these two variants of variable declaration?


Thanks,

Anvar