div class="p">
    <p>Create a view into collection <code>base</code> that allows access within <code>bounds</code>.</p>

<p><strong>Complexity:</strong> O(1).</p>

    <h4>Declaration</h4>    
    <code class="language-swift">init(base: Base, bounds: Range&lt;Base.Index&gt;)</code>

    </div></div>
</div>


<h3>Instance Variables</h3>
<div class="declaration inherited" id="var-count_-self-index-distance">
<a class="toggle-link" data-toggle="collapse" href="#comment-var-count_-self-index-distance">var coun