llvm-project
6f2d8cc0 - [libc++][chrono] Loads leap-seconds.list in tzdb. (#82113)

Commit
1 year ago
[libc++][chrono] Loads leap-seconds.list in tzdb. (#82113) This implements the loading of the leap-seconds.list file and store its contents in the tzdb struct. This adds the required `leap_seconds` member. The class leap_seconds is fully implemented including its non-member functions. Implements parts of: - P0355 Extending <chrono> to Calendars and Time Zones - P1614 The Mothership has Landed Implements: - P1981 Rename leap to leap_second - LWG3359 <chrono> leap second support should allow for negative leap seconds - LWG3383 ยง[time.zone.leap.nonmembers] sys_seconds should be replaced with seconds
Author
Parents
Loading