The list of chrono::tzdb
objects
A single object of this type is constructed by the C++ runtime, and can be accessed by calling chrono::get_tzdb_list()
.
The front of the list is the current tzdb
object and can be accessed via chrono::get_tzdb_list().front()
or chrono::get_tzdb()
or *chronoget_tzdb_list().begin()
.
The chrono::reload_tzdb()
function will check for a newer version and if found, insert it at the front of the list.
- Since
- C++20
Definition at line 2696 of file chrono.
Remove the tzdb object after the one the iterator refers to.
Calling this function concurently with any of front()
, begin()
, or end()
does not cause a data race, but in general this function is not thread-safe. The behaviour may be undefined if erasing an element from the list while another thread is calling the same function, or incrementing an iterator into the list, or accessing the element being erased (unless it is accessed through an iterator).
- Parameters
-
__p | A dereferenceable iterator. |
- Returns
- An iterator the element after the one that was erased (or
end()
if there is no such element).
- Since
- C++20