Elaborated type specifiers

I see the latest studio express still accepts

t[code]emplate <typename T>

class X {

friend class T;

};

struct Z{};

int main() {

X<Z> x;

}

[/code]

Which is ill-formed according to 7.1.5.3 p2. Is this going to change, or is the standard being ammended?

I ask because these issues cause porting problems.

Cheers, Ian.

[408 byte] By [Zootlea] at [2007-11-26 16:45:48]
# 1
Could you file a bug at http://bugs.sun.com?
Atanasyana at 2007-7-8 23:13:10 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
Done.
Zootlea at 2007-7-8 23:13:10 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3
Bug 6519860 has been filed for this problem. It should be visible at bugs.sun.com in a day or two.
clamage45a at 2007-7-8 23:13:10 > top of Java-index,Development Tools,Solaris and Linux Development Tools...