
From: Arkadiy Vertleyb [mailto:vertleyb@hotmail.com] Sent: Wednesday, December 08, 2004 1:16 PM Subject: Re: Re: Re: Re: typeof integrated
"Peder Holt" <peder.holt@gmail.com> wrote
Then again, the following compiles with VC7.1, so maybe there is hope after all :)
Wow...
The reason it compiles is that you are using "class" where I used "typename". The following does not work:
template<typename A0> void deduce_container(*typename* std::_Tree<A0>::iterator) { std::cout << "map" << "\n"; }
I don't think this is a legal standard usage, though... Probably a Microsoft - specific "feature"... Any comments from language experts? Should the following work according to the Standard?
This is definitely a compiler bug, not a feature. -- Jason Shirk VC++ Compiler Team