[#BloombergLP-bdlt-PackedCalendar-reserveHolidayCodeCapacity]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/PackedCalendar.adoc[PackedCalendar]::reserveHolidayCodeCapacity
:relfileprefix: ../../../
:mrdocs:

Reserve capacity for at least the specified number of holiday codes&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;packedcalendar&period;h&gt;`

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

== Description

Reserve enough space to store at least the specified `numHolidayCodes` within this calendar assuming no additional holidays are added to this calendar&period; This method has no effect if `numHolidayCodes &lt;&equals; numHolidayCodesTotal()`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *numHolidayCodes*
| minimum holiday&hyphen;code capacity to reserve
|===


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