std::chrono::tzdb_list::front

From cppreference.com
< cpp‎ | chrono‎ | tzdb list
 
 
 
Date and time utilities
(C++11)
(C++11)
Clocks
(C++20)
                                                  
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
Calendars
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
Time zones
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
C-style date and time
 
 
const std::chrono::tzdb& front() const noexcept;
(since C++20)

Obtains a reference to the first std::chrono::tzdb in the list. Simultaneous calls to this function and std::chrono::reload_tzdb() does not introduce a data race.