methods of a class are never ever on the stack -- only data objects go there.
int main()
{
Foo f; // object f goes on the stack, but not the methods of that object.
}
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Offline 21,953 posts
since Aug 2005