title: Forward-declare a typedef
body: <p>I have got a large header file (~10000 lines) which is auto-generated by a script/program out of my control.</p>
  
  <p>In order to avoid to include this file in the declaration of my class, I forward declare the few types I need:</p>
  
  <p>--myclass.h</p>
  
  <pre><code>namespace bl {
     class TypeA;
     class TypeB;
  }
  // Other stuff and myclass definition...
  </code></pre>
  
  <p>Now it turns out that <code>TypeA</code> and <code>TypeB</code> are not class-names, but are instead defined inside the auto-generated file as:</p>
  
  <pre><code>typedef SomeUnspecifiedClassName TypeA;
  typedef AnotherUnspecifiedClassName TypeB;
  </code></pre>
  
  <p>Where by <code>SomeUnspecifiedClassName</code> I mean that I can not forward-declare this type-name because it may change under various circumstances.</p>
  
  <p>How can I forward-declare a typedef? (Can't use c++11)</p>