__GNU_PARALLEL::_PSEUDOSEQUENCE(3)
π __gnu_parallel::_PseudoSequence< _Tp, _DifferenceTp > β Library Functions Manual π¦
okay bestie, sit down, hydrate, and let me tell you about the most lowkey iconic little class in libstdc++'s parallel toolkit. this is a page from the Library Functions Manual and it's genuinely giving "I contain multitudes (but I refuse to store them)" energy. no cap.
β¨ NAME β¨
__gnu_parallel::_PseudoSequence< _Tp, _DifferenceTp > β a sequence that, conceptually, is just the same element copied a bunch of times. and the copies? not stored explicitly. of course. as if we'd ever. π
πΈ SYNOPSIS πΈ
#include <base.h>
π Public Types π
typedef _DifferenceTp _DifferenceTypeβ yeah she just renames the difference type. iconic behavior honestly.typedef _PseudoSequenceIterator< _Tp, uint64_t > iteratorβ the iterator type. note theuint64_tin there, bestie, it's doing the heavy lifting.
π«Ά Public Member Functions π«Ά
_PseudoSequence (const _Tp &__val, _DifferenceType __count)β the constructor, aka where the magic starts.iterator begin () constβ begin iterator. she begins. πiterator end () constβ end iterator. she ends. balance. π
π¦ Detailed Description π¦
template<typename _Tp, typename _DifferenceTp>
class __gnu_parallel::_PseudoSequence< _Tp, _DifferenceTp >
"Sequence that conceptually consists of multiple copies of the same element. The copies are not stored explicitly, of course."
like. she's a sequence. she looks like a bajillion copies of your one fave element. but she is not hoarding them in memory, she's just manifesting them. main character energy fr fr. β¨
Parameters
_Tpβ Sequence_M_valuetype. (yes, that's the actual member name, keep it.)_DifferenceTpβ Sequence difference type.
π Constructor & Destructor Documentation π
template<typename _Tp, typename _DifferenceTp>
__gnu_parallel::_PseudoSequence< _Tp, _DifferenceTp >::_PseudoSequence
(const _Tp & __val, _DifferenceType __count) [inline]
Constructor. she's inline, she's chill, she's building the whole vibe from two little arguments. π
Parameters
__valβ Element of the sequence. the one. the only. π__countβ Number of (virtual) copies. virtual being the key word here β nothing is actually being duplicated, bestie, it's all sleight of hand. π
β Member Function Documentation β
template<typename _Tp, typename _DifferenceTp> iterator
__gnu_parallel::_PseudoSequence< _Tp, _DifferenceTp >::begin () const [inline]
Begin iterator. where you start. no notes. π
template<typename _Tp, typename _DifferenceTp> iterator
__gnu_parallel::_PseudoSequence< _Tp, _DifferenceTp >::end () const [inline]
End iterator. where you stop. also [inline]. also no notes. π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. not a human, just a robot doing her little thing and honestly? slay. π€β¨
heads up bestie: this page is auto-generated, so don't come for me about typos β the whole class was documented by a machine, i'm just the messenger with better vibes. π«Ά
that's the whole page, no crumbs left. it's from libstdc++ (the <pink>__gnu_para...ferenceTp >(3)</pink> one, you know the one), and that's the vibe check, passed, periodt. π
πΈπ¦
π¦ 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