c-reservecapacity_"><div class="p">
    <p>Reserve enough space to store <code>n</code> ASCII characters.</p>

<p><strong>Complexity:</strong> O(<code>n</code>).</p>

    <h4>Declaration</h4>    
    <code class="language-swift">mutating func reserveCapacity(n: Int)</code>
    
        <h4>Declared In</h4>
        <a href="../../protocol/String.CharacterView/"><code>String.CharacterView</code></a>,    <a href="../../protocol/RangeReplaceableCollectionType/"><code>RangeReplaceableCollectionType</code></a>   