Where is type_info object stored?
<p>I read from "<em>Inside The C++ Object Model</em>" that the type_info object is often stored at the first slot of the virtual table. However, I iterated the members in the virtual table:</p>

<pre><code>class Base {
public:
    virtual void f() { cout &lt;&lt; "Base::f" &lt;&lt; endl; }
    virtual void g() { cout &lt;&lt; "Base::g" &lt;&lt; endl; }
    virtual void h() { cout &lt;&lt; "Base::h" &lt;&lt; endl; }
};

typedef void(*Fun)(void);

Base b;

(Fun)*((int*)*(int*)(&amp;b)+0); // Base::f()
(Fun)*((int*)*(int*)(&amp;b)+1); // Base::g()
(Fun)*((int*)*(int*)(&amp;b)+2); // Base::h()
</code></pre>

<p>As you see from the last three lines, I can't find type_info at all.</p>
