div class="line">}</div>
</div><!-- fragment --><h2><a class="anchor" id="autotoc_md3"></a>
Using Initialization Option</h2>
<div class="fragment"><div class="line"><span class="preprocessor">#include &quot;b8array.h&quot;</span></div>
<div class="line"> </div>
<div class="line"><span class="comment">// Creates an array with capacity of 5 and fills it with default-constructed MyClass objects.</span></div>
<div class="line"><a class="code hl_class" href="classb8array.html">b8array&lt;MyClass, 5&gt;</a> arr(A