ents are invalidated. Otherwise, no iterators or references
          are invalidated.
        </p>
<h6>
<a name="json.ref.boost__json__array.shrink_to_fit.h2"></a>
          <span class="phrase"><a name="json.ref.boost__json__array.shrink_to_fit.complexity"></a></span><a class="link" href="shrink_to_fit.html#json.ref.boost__json__array.shrink_to_fit.complexity">Complexity</a>
        </h6>
<p>
          At most, linear in <a class="link" href="size.html" title="array::size"><code class="computeroutput"><sp