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

version» Context lines:

autodoc.git/modref/ex/predef_3A_3A/ADT/Stack/reset.html:62:    <div class="contentbox">    <article>    <h1>Method ADT.Stack()-&gt;reset()</h1>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>reset</b></span>   </dt> - <dd><p><code><code class='datatype'>void</code> <b><span class='method'>reset</span>(</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><code class='datatype'>void</code> <b><span class='method'>reset</span>(</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>Empties the stack, resets the stack pointer    and shrinks the stack size to the given value    or 32 if none is given.</p>   </dd>   <dt class='head--doc'>See also</dt>   <dd class='body--doc'><p><a class='ms reference' href='../../../predef_3A_3A/ADT/Stack/create.html'>create</a></p>   </dd></dl>