Hi All,
Here is some code from another thread in 'comp.lang.c++'. I get ICE on
the line that contains 'friend' keyword.
void Function();
int main() {
Function(); // This does not work
}
#include <stdio.h>
template <typename T>
class Test
{
public:
friend void Function() { printf("Function()"); }
};
template class Test<int>; // explicit instantiation
(compiler file 'msc1.cpp', line 1411)
Any clues?
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask