March 2024
Beginner
248 pages
7h 12m
English
This chapter covers
std::chrono time points and durationsoperator/ to create datesIn this chapter, we will make a short program to create a countdown to an event. To do this, we will use time points and durations from the chrono header. This feature was introduced in C++11, and although the essence has remained the same, several useful additions have been made over time. Howard Hinnant is the main author and designer of this feature. In his Meeting C++ talk in 2019, he gave a lot of background to its design (https://www.youtube.com/watch?v=adSAN282YIw). As we use chrono ...
Read now
Unlock full access