CC'd to webmaster@xxxxxxxxxxxx because I encountered a strange redirection. Gabriel Dos Reis <gdr@xxxxxxxxxxxxxxxxxxxxxxxx> writes: > llewelly@xxxxxxxxxxxx writes: > > | "naje" <najeiv@xxxxxxx> writes: > | > | > Hello, > | > would you suggest to me, why gcc 3.3.3 can not compile this: > | > > | > template<class T> > | > class Base > | > { > | > friend T; > | > | typedefs and template parameters are not allowed to be friends. 14.5.3 > | describes the constructs allowed in a friend declaration in a > | class template, and typedefs and template parameters are not > | amoung them. > | > | I think this is unfortunate, but it's rare to need this feature. > > Yes, hopefully that restriction will be removed from future versions of > C++. > > http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2003/n1520.pdf Thank you for these links. I'm sure you (Gaby) have nothing to do with this, but I got a very weird result I can't help but mention, when I tried to dl 1520: $ wget http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2004/n1520.pdf --12:46:06-- http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2004/n1520.pdf => 'n1520.pdf' Resolving www.open-std.org... done. Connecting to www.open-std.org[217.116.227.117]:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2004/n1580.pdf [following] --12:46:06-- http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2004/n1580.pdf => 'n1580.pdf' Connecting to www.open-std.org[217.116.227.117]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4,503 [application/pdf] 100%[============================================================================================================================================================>] 4,503 11.95K/s ETA 00:00 12:46:11 (11.95 KB/s) - 'n1580.pdf' saved [4503/4503] n1580 is a total different paper ! I tried mozialla and w3m and they try to grab 1580 as well. :-( > http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2004/n1616.pdf > > > -- Gaby > >