I am currently reading Inside the C++ Object Model. On page 9 it has a diagram showing how the contents of a class are laid out in memory. It states the only part of an object which actually resides in the class memory are non-static data members.
Here is a post from SO regarding the contents of memory for a program:
Global memory management in C++ in stack or heap?
In the second answer it details the memory layout of a program- showing the stack and the heap.
Does the location of the static data members/any class function (basically the parts of the class which are not stored within the object- referring to page 9) change depending whether the object is on the stack or the heap?