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.
}
Ancient Dragon
Retired & Loving It
30,043 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,341
vijayan121
Posting Virtuoso
1,606 posts since Dec 2006
Reputation Points: 1,159
Solved Threads: 287