---
name: "std::chrono::tzdb_list_const_iterator"
section: "3cxx"
platform: "linux"
package: "libstdc++-13-doc"
version: "13.3.0-16"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/std::chrono::tzdb_list_const_iterator"
---

# std::chrono::tzdb\_list\_const\_iterator(3cxx)

## NAME

std::chrono::tzdb\_list::const\_iterator

## SYNOPSIS

`#include <chrono>`

### Public Types

**using** **difference\_type** = ptrdiff\_t\
 **using** **iterator\_category** = **forward\_iterator\_tag**\
 **using** **pointer** = const tzdb \*\
 **using** **reference** = const tzdb &\
 **using** **value\_type** = tzdb\

### Public Member Functions

**const\_iterator** (const **const\_iterator** &)=**default**\
 **const\_iterator** (**const\_iterator** &&)=**default**\
 reference **operator\*** () const noexcept\
 **const\_iterator** & **operator++** ()\
 **const\_iterator** **operator++** (int)\
 pointer **operator-\>** () const noexcept\
 **const\_iterator** & **operator=** (const **const\_iterator** &)=**default**\
 **const\_iterator** & **operator=** (**const\_iterator** &&)=**default**\
 bool **operator==** (const **const\_iterator** &) const noexcept=**default**\

### Friends

**class** **tzdb\_list**\

## 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.

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
