autodoc.git / modref / ex / predef_3A_3A / ADT / Stack.html

version» Context lines:

autodoc.git/modref/ex/predef_3A_3A/ADT/Stack.html:70:    If however the stack risks to overflow, it will allocate double its    current size, i.e. pushing an element on an full 32 slot stack will    result in a 64 slot stack with 33 elements.</p>   </dd></dl>      <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>create</b></span>   </dt> - <dd><p><code><span class='object'>ADT.Stack</span> <span class='class'>ADT.Stack</span><b>(</b><code class='datatype'>int</code>|<code class='datatype'>void</code> <code class='argument'>initial_size</code><b>)</b></code></p></dd> + <dd><p><code><span class='object'>ADT.Stack</span> <span class='class'>ADT.Stack</span><b>(</b><code class='datatype'>int(1..)</code>|<code class='datatype'>void</code> <code class='argument'>initial_size</code><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>An initial stack size can be given when    a stack is cloned. The default value is    32.</p>   </dd></dl>       </article>    </div>    </div>