Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

What's wrong with this?

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;
}

Name: Anonymous 2009-07-07 0:22


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List