I tried the following code:
enum test
{
t1, t2, t3
};
void main()
{
test t = test::t1;
}
Visual C++ 9 compiled it with the following warning:
warning C4482: nonstandard extension
used: enum 'test' used in qualified
name
Doesn't look like it's standard.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…