initialize overloads
Synopses
Declared in <bdlt_defaultcalendarcache.h>
Initialize the default calendar cache with no timeout.
static
int
initialize(
CalendarLoader* loader,
bslma::Allocator* allocator);
Initialize the default calendar cache with a timeout.
static
int
initialize(
CalendarLoader* loader,
bsls::TimeInterval const& timeout,
bslma::Allocator* allocator);
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
loader |
calendar loader used to obtain calendars |
allocator |
allocator used to supply memory |
timeout |
interval after which cached calendars expire |
Created with MrDocs