__GNU_PARALLEL::_ITERATORTRIPLE(3)

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

πŸ’– __gnu_parallel::_IteratorTriple< _Iterator1, _Iterator2, _Iterator3, _IteratorCategory > πŸ’–

okay bestie, welcome to the Library Functions Manual section of the libstdc++ docs, and buckle up because today we're talking about a triple of iterators πŸŽ€


✨ NAME ✨

__gnu_parallel::_IteratorTriple< _Iterator1, _Iterator2, _Iterator3, _IteratorCategory > β€” it's a triple of iterators, and the way that it works is that the usual iterator operations get applied to all three child iterators at once. three besties moving in sync, no cap πŸ’…


🌸 SYNOPSIS 🌸

#include <iterator.h>

πŸ¦‹ Public Types πŸ¦‹

  • difference_type β€” typedef'd to std::iterator_traits< _Iterator1 >::difference_type. it's giving "borrowed from iterator number one" energy ✨
  • iterator_category β€” typedef'd to _IteratorCategory. literally just the template param, slaying as itself πŸ‘‘
  • pointer β€” typedef'd to _IteratorTriple *. yes it points at itself, main character behavior fr fr
  • reference β€” typedef'd to _IteratorTriple &. a reference to itself, iconic 🫢
  • value_type β€” typedef'd to void. that's it. that's the whole vibe. void. πŸ’€

🌈 Public Member Functions 🌈

  • _IteratorTriple (const _Iterator1 &__first, const _Iterator2 &__second, const _Iterator3 &__third) β€” the constructor, takes all three of your iterators, one for each child πŸ“
  • operator _Iterator3 () const β€” conversion operator that hands you back the third iterator, no cap
  • _IteratorTriple operator+ (difference_type __delta) const β€” adds __delta and returns a whole new _IteratorTriple πŸ’–
  • _IteratorTriple & operator++ () β€” the prefix increment, returns a reference to yourself, glow up moment ✨
  • const _IteratorTriple operator++ (int) β€” the postfix increment, returns a const copy of the triple
  • difference_type operator- (const _IteratorTriple &__other) const β€” subtracts another triple from this one and gives you back a difference_type 🌸
  • _IteratorTriple & operator-- () β€” the prefix decrement, also returns a reference to you πŸ’œ
  • const _IteratorTriple operator-- (int) β€” the postfix decrement, returns a const copy
  • _IteratorTriple & operator= (const _IteratorTriple &__other) β€” assignment, copies from __other into this one 🧚

⭐ Public Attributes ⭐

  • _Iterator1 _M_first β€” the first child iterator, living its truth
  • _Iterator2 _M_second β€” the second child iterator, also here
  • _Iterator3 _M_third β€” the third child iterator, completing the trio πŸ‘‘

πŸ’« Detailed Description πŸ’«

template<typename _Iterator1, typename _Iterator2, typename _Iterator3,
    typename _IteratorCategory>
    class __gnu_parallel::_IteratorTriple< _Iterator1, _Iterator2,
    _Iterator3, _IteratorCategory >

"A triple of iterators. The usual iterator operations are applied to all three child iterators." β€” yes bestie, that's the whole thesis. one operation, three iterators, zero drama πŸŽ€


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. not a human author, just the robot doing its thing, and honestly? it ate πŸ€–βœ¨


heads up: every single one of those members, types, and attributes above came straight from the original docs. don't @ me if you try to rename something, it will not go well πŸ™ˆ

okay that's the whole page, bestie πŸ’– this lil manual page is part of the libstdc++ docs, and that's the same libstdc++ you saw printed in the footer at the bottom of the original page. mwah, go forth and triple your iterators πŸŒˆπŸ¦‹βœ¨

πŸ“¦ 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
  • fedora 44: libstdc++-docs 16.2.1-3.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
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms