.TH "std::chrono::tzdb_list" 3 "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::chrono::tzdb_list .SH SYNOPSIS .br .PP .PP \fR#include \fP .SS "Classes" .in +1c .ti -1c .RI "class \fBconst_iterator\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBtzdb_list\fP (\fBconst\fP \fBtzdb_list\fP &)=\fBdelete\fP" .br .ti -1c .RI "\fBconst_iterator\fP \fBbegin\fP () \fBconst\fP noexcept" .br .ti -1c .RI "\fBconst_iterator\fP \fBcbegin\fP () \fBconst\fP noexcept" .br .ti -1c .RI "\fBconst_iterator\fP \fBcend\fP () \fBconst\fP noexcept" .br .ti -1c .RI "\fBconst_iterator\fP \fBend\fP () \fBconst\fP noexcept" .br .ti -1c .RI "\fBconst_iterator\fP \fBerase_after\fP (\fBconst_iterator\fP __p)" .br .ti -1c .RI "\fBconst\fP tzdb & \fBfront\fP () \fBconst\fP noexcept" .br .ti -1c .RI "\fBtzdb_list\fP & \fBoperator=\fP (\fBconst\fP \fBtzdb_list\fP &)=\fBdelete\fP" .br .in -1c .SS "Friends" .in +1c .ti -1c .RI "\fBconst\fP tzdb & \fBget_tzdb\fP ()" .br .ti -1c .RI "\fBtzdb_list\fP & \fBget_tzdb_list\fP ()" .br .ti -1c .RI "\fBclass\fP \fBleap_second\fP" .br .ti -1c .RI "\fBconst\fP tzdb & \fBreload_tzdb\fP ()" .br .ti -1c .RI "\fBstruct\fP \fBtime_zone::_Impl\fP" .br .ti -1c .RI "\fBclass\fP \fBtime_zone_link\fP" .br .ti -1c .RI "\fBstruct\fP \fBtzdb\fP" .br .in -1c .SH "Detailed Description" .PP The list of \fRchrono::tzdb\fP objects .PP A single object of this type is constructed by the C++ runtime, and can be accessed by calling \fRchrono::get_tzdb_list()\fP\&. .PP The front of the list is the current \fRtzdb\fP object and can be accessed via \fRchrono::get_tzdb_list()\&.front()\fP or \fRchrono::get_tzdb()\fP or \fR*chronoget_tzdb_list()\&.begin()\fP\&. .PP The \fRchrono::reload_tzdb()\fP function will check for a newer version and if found, insert it at the front of the list\&. .PP \fBSince\fP .RS 4 C++20 .RE .PP .SH "Member Function Documentation" .PP .SS "\fBconst_iterator\fP std::chrono::tzdb_list::erase_after (\fBconst_iterator\fP __p)" Remove the tzdb object \fIafter\fP the one the iterator refers to\&. .PP Calling this function concurrently with any of \fRfront()\fP, \fRbegin()\fP, or \fRend()\fP 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)\&. .PP \fBParameters\fP .RS 4 \fI__p\fP A dereferenceable iterator\&. .RE .PP \fBReturns\fP .RS 4 An iterator the element after the one that was erased (or \fRend()\fP if there is no such element)\&. .RE .PP \fBSince\fP .RS 4 C++20 .RE .PP .SS "\fBconst\fP tzdb & std::chrono::tzdb_list::front () const\fR [noexcept]\fP" Access the current \fRtzdb\fP at the front of the list\&. .PP This returns a reference to the same object as \fRchrono::get_tzdb()\fP\&. .PP \fBReturns\fP .RS 4 A reference to the current tzdb object\&. .RE .PP \fBSince\fP .RS 4 C++20 .RE .PP .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.