C++ class object memory map
<p>When we create an object of a class what does it memory map look like. I am more interested in how the object calls the non virtual member functions. Does the compiler create a table like vtable which is shared between all objects?</p>

<pre><code>class A
{
public:
  void f0() {}
  int int_in_b1;
};

A * a = new A;
</code></pre>

<p>What will be the memory map of a?</p>
