std::chrono::tzdb_list::const_iterator
Contents
Detailed Description
An iterator into the tzdb_list
As a extension, in libstdc++ each tzdb is reference-counted and the const_iterator type shares ownership
of the object it refers to. This ensures that a tzdb erased from the list will not be destroyed while
there is an iterator that refers to it.
Name
std::chrono::tzdb_list::const_iterator
Synopsis
#include <chrono>
PublicTypesusingdifference_type = ptrdiff_t
usingiterator_category = forward_iterator_tagusingpointer = const tzdb *
usingreference = const tzdb &
usingvalue_type = tzdb
PublicMemberFunctionsconst_iterator (const const_iterator &)=defaultconst_iterator (const_iterator &&)=default
reference operator* () const noexcept
const_iterator & operator++ ()
const_iteratoroperator++ (int)
pointer operator-> () const noexcept
const_iterator & operator= (const const_iterator &)=defaultconst_iterator & operator= (const_iterator &&)=default
bool operator== (const const_iterator &) const noexcept=defaultFriendsclasstzdb_list