__GNU_PARALLEL::_ITERATORTRIPLE(3)
π __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 tostd::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 frreferenceβ typedef'd to_IteratorTriple &. a reference to itself, iconic π«Άvalue_typeβ typedef'd tovoid. 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__deltaand 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 aconstcopy of the tripledifference_type operator- (const _IteratorTriple &__other) constβ subtracts another triple from this one and gives you back adifference_typeπΈ_IteratorTriple & operator-- ()β the prefix decrement, also returns a reference to you πconst _IteratorTriple operator-- (int)β the postfix decrement, returns aconstcopy_IteratorTriple & operator= (const _IteratorTriple &__other)β assignment, copies from__otherinto 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