#include <iostream>
template <class Type>
class HateAnsi
{
public:
HateAnsi()
{}
friend Type Something(Type k);
};
template <class Type>
Type Something(Type k)
{
return k;
}
int main()
{
std::cout << "Hello world!" << std::endl;
return 0;
}
This doesn't work...in gcc...but does in vs.net (ansi is the devil),...so how do i get it to work?
I tried to figure this out, but all i keep finding on the web is peoples posts about how ansi is going against the guidlines or something...eh...
O and whatever the fix, the code has to compile in vs.net no matter what
