cross referencing class object
<p>I did something like this:</p>

<pre><code>struct Vertex {
  list&lt;Edge*&gt; edges;
};

struct Edge {
  Vertex* v1;
  Vertex* v2;
};
</code></pre>

<p>and the compiler error : </p>

<blockquote>
  <p>'Edge' was not declared in this scope</p>
</blockquote>

<p>How do I solve this problem without putting these two into separate headers, "vertex.h" and "edge.h"?</p>
