</span></span><span style="display:flex;"><span><span style="color:#75715e"></span><span style="color:#75715e">/**
</span></span></span><span style="display:flex;"><span><span style="color:#75715e">  p == p2: true
</span></span></span><span style="display:flex;"><span><span style="color:#75715e">*/</span>
</span></span></code></pre></div><h2 id="结构体的比较">
  结构体的比较
  <a class="anchor" href="#%e7%bb%93%e6%9e%84%e4%bd%93%e7%9a%84%e6%af%94%e8%be%83">#</a>
</h2>
<p><strong>比较的前提: