May 2018
Intermediate to advanced
328 pages
8h 15m
English
As of C++17, the chrono standard library does not have support for working with dates, weeks, calendars, time zones, and other useful related features. This will change in C++20, as time zones and calendar support have been added to the standard at the Jacksonville meeting, in March 2018. The new additions are based on an open source library called date, built on top of chrono, developed by Howard Hinnant and available on GitHub at https://github.com/HowardHinnant/date. We will use this library to solve several of the problems in this chapter. Although in this implementation the namespace is date, in C++20 it will be part of std::chrono. However, you should be able to simply replace the namespace without ...
Read now
Unlock full access