[#BloombergLP-balxml-PrefixStack-restoreToSize]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/PrefixStack.adoc[PrefixStack]::restoreToSize
:relfileprefix: ../../../
:mrdocs:

Restore stack to the specified `size`&period; The behavior is undefined if PrefixStack contains fewer prefixes than requested size&period;

== Synopsis

Declared in `&lt;balxml&lowbar;prefixstack&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
restoreToSize(int size);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *size*
| number of prefixes to retain
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
