std::chron...t_iterator(3)

πŸ“¦
version 16.2.1+r23+gd564253eb6c8 Β· 4 versions
, in arch rolling, fedora 44

✨ NAME ✨

std::chrono::tzdb_list::const_iterator β€” the lil iterator bestie for tzdb_list πŸ’–

(yeah it's a C++ thing, from the libstdc++ manual, page 3, we're in Library Functions Manual territory, iykyk 🫢)


🌸 SYNOPSIS 🌸

#include <chrono>

πŸŽ€ Public Types

  • using difference_type
  • using iterator_category
  • using pointer
  • using reference
  • using value_type

πŸ¦‹ 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

Okay so it's an iterator into the tzdb_list. That's the whole vibe. It walks the list, it dereferences, it increments, it does the iterator thing. Slay πŸ’…

And here's the tea, bestie: as a extension, in libstdc++ each tzdb is reference-counted, and the const_iterator type shares ownership of the object it refers to. 🫢

Why does that matter?? Because it means a tzdb that got erased from the list will not be destroyed while there's still an iterator referring to it. No dangling, no smoking gun, no undefined-vibes meltdown. The iterator keeps its lil friend alive. That's main character energy fr fr 😭✨

ngl that's a genuinely iconic safety guarantee, no cap.

🌈 Author

Generated automatically by Doxygen for libstdc++ from the source code. (not a human, just a robot doing its thing πŸ’€)


πŸ’– SEE ALSO

(there isn't one, bestie β€” this page keeps it self-contained, periodt πŸŽ€)


k bye love u, this was the libstdc++ page for std::chron...t_iterator(3) β€” written up just for u, mwah πŸ«ΆπŸ’…βœ¨

πŸ“¦ where this page comes from
  • arch rolling: gcc 16.2.1+r23+gd564253eb6c8-1 Β· GPL-3.0-or-later WITH GCC-exception-3.1 AND GFDL-1.3-or-later
  • fedora 44: libstdc++-docs 16.0.1-0.10.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
  • fedora 44: libstdc++-docs 16.2.1-2.fc44
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms