MCPcopy Create free account
hub / github.com/HowardHinnant/date / load_leap_data

Function load_leap_data

src/tz.cpp:2139–2148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2137
2138template <class TimeType>
2139static
2140std::vector<leap_second>
2141load_leap_data(std::istream& inf,
2142 std::int32_t tzh_leapcnt, std::int32_t tzh_timecnt,
2143 std::int32_t tzh_typecnt, std::int32_t tzh_charcnt)
2144{
2145 inf.ignore(tzh_timecnt*static_cast<std::int32_t>(sizeof(TimeType)) + tzh_timecnt +
2146 tzh_typecnt*6 + tzh_charcnt);
2147 return load_leaps<TimeType>(inf, tzh_leapcnt);
2148}
2149
2150static
2151std::vector<leap_second>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected