std::chrono::get_tzdb_list,std::chrono::get_tzdb,std::chrono::remote_version, (3) - Linux Manuals
std::chrono::get_tzdb_list,std::chrono::get_tzdb,std::chrono::remote_version,: std::chrono::get_tzdb_list,std::chrono::get_tzdb,std::chrono::remote_version,
NAME
std::chrono::get_tzdb_list,std::chrono::get_tzdb,std::chrono::remote_version, - std::chrono::get_tzdb_list,std::chrono::get_tzdb,std::chrono::remote_version,
Synopsis
std::chrono::tzdb_list&
const std::chrono::tzdb&
std::string remote_version();
const std::chrono::tzdb&
These functions provide access to the program-wide time zone database.
1)
the first access to the database, initialize the database. After the initialization,
the database will hold a single initialized std::chrono::tzdb object. This function
is thread-safe: concurrent calls to this function from multiple threads do not
introduce a data race.
2)
singleton. Equivalent to std::chrono::get_tzdb_list().front().
3)
4)
the remote database to the front of the tzdb_list singleton referenced by
get_tzdb_list(). Otherwise there are no effects. No references, pointers or
iterators are invalidated. Calling this function concurrently with
get_tzdb_list().front()
race.
Exceptions
1)
more valid tzdb cannot be returned.
Return value
1)
2)
3)
4)