eyword">static</span> <span class="keyword">void</span> <a name="idp72594112-bb"></a><span class="identifier">rebalance</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">node_ptr</span> <span class="special">&amp;</span> header<span class="special">)</span><span class="special">;</span></pre>
<p><span class="bold"><strong>Requires</strong></span>: header must be the header of a tree.</p>
<p><span class="bold"><strong>Effects</strong></span>: Rebalances the tree.