Reserve capacity for at least the specified number of holiday codes.
Synopsis
Declared in <bdlt_calendar.h>
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. This method has no effect if numHolidayCodes <= numHolidayCodesTotal().
Parameters
Name |
Description |
numHolidayCodes |
minimum holiday‐code capacity to reserve |
Created with MrDocs