Return a pointer to the default calendar cache, or 0 if uninitialized.

Synopsis

Declared in <bdlt_defaultcalendarcache.h>

static
CalendarCache*
instance();

Description

Return an address providing modifiable access to the default CalendarCache object managed by this class, if the default cache is in the initialized state, and 0 otherwise. The cache obtains calendars using the loader that was supplied to the initialize method. Note that the returned address is invalidated by a subsequent call to destroy.

Return Value

pointer to the default calendar cache, or 0 if uninitialized

Created with MrDocs