__GNU_PARALLEL::_PSEUDOSEQUENCE(3)

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

πŸ’– __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 the uint64_t in 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_value type. (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