I use enum type but declare it under the use, compile fail.
Then I add a forward declaration, but still compile fail.
I search exists questions about enum forward declaration, found c++ (not C++0x) does not support enum forward declaration.
Can somebody explains why ?
I found similar questions on SO, but nobody explains why.