std::chrono::leap_second| Member functions |
|
| Nonmember functions |
|
| Helper classes |
|
| | |
class leap_second; | | (since C++20) |
| | |
The classleap_second represents the date and time of a leap second insertion.
Users cannot constructleap_second objects except by copying from existingleap_second objects. The library implementation createsleap_second objects when it initializes the time zone database and providesconst access to these objects.
leap_second has a defaulted copy constructor and a defaulted copy assignment operator.
[edit]Member functions
| obtains the time of leap second insertion (public member function)[edit] |
[edit]Nonmember functions
| compares twoleap_second values or aleap_second value and asys_time (function template)[edit] |
[edit]Helper classes
| hash support forstd::chrono::leap_second (class template specialization) |