Name: Anonymous 2009-07-07 0:03
Why won't this compile?
template<class T>
struct Party {
Party<T*> operator->();
};
int main(int argc, char* argv[])
{
Party<int> i, j = i->hard;
return 0;
}
template<class T>
struct Party {
Party<T*> operator->();
};
int main(int argc, char* argv[])
{
Party<int> i, j = i->hard;
return 0;
}