__GNU_PARALLEL::PSEUDO_SEQUENCE(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

πŸ’– NAME

__gnu_parallel::pseudo_sequence β€” bestie, it's a sequence that conceptually consists of multiple copies of the same element. And like, the copies are literally not stored explicitly, of course πŸ’… (we're not out here wasting memory, periodt).


✨ SYNOPSIS

πŸŽ€ Public Types

  • typedef _DifferenceTp difference_type β€” the difference type, iconic as always
  • typedef pseudo_sequence_iterator< T, uint64 > iterator β€” our iterator, slaying with a uint64 πŸ¦‹

🌸 Public Member Functions

  • iterator begin () const β€” where it all starts
  • iterator end () const β€” where it all ends
  • pseudo_sequence (const T &val, difference_type count) β€” the constructor, the main character

πŸ¦‹ Detailed Description

template<typename T, typename _DifferenceTp> class
    __gnu_parallel::pseudo_sequence< T, _DifferenceTp >

Okay so picture this: a sequence that conceptually consists of multiple copies of the same element. The copies are not stored explicitly, of course β€” like, imagine actually storing them, couldn't be us πŸ™ˆ.

Here's the vibe check on the parameters:

  • T β€” Sequence value type.
  • difference_type β€” Sequence difference type.

πŸ“ Definition at line 394 of file base.h.


πŸ’œ Constructor & Destructor Documentation

⭐ pseudo_sequence

template<typename T, typename _DifferenceTp>
    __gnu_parallel::pseudo_sequence< T, _DifferenceTp >::pseudo_sequence
    (const T & val, difference_type count) [inline]

It's the Constructor πŸŽ‰ β€” the moment our little sequence is born.

Parameters, bestie, listen up:

  • val β€” Element of the sequence.
  • count β€” Number of (virtual) copies. Virtual! Not real ones! She's giving illusion, she's giving smoke and mirrors ✨

πŸ“ Definition at line 408 of file base.h.


🌈 Member Function Documentation

🫢 begin

template<typename T, typename _DifferenceTp> iterator
    __gnu_parallel::pseudo_sequence< T, _DifferenceTp >::begin () const
    [inline]

Begin iterator. That's it, that's the whole description, and honestly? She ate πŸ’…

πŸ“ Definition at line 413 of file base.h.

πŸ“ end

template<typename T, typename _DifferenceTp> iterator
    __gnu_parallel::pseudo_sequence< T, _DifferenceTp >::end () const
    [inline]

End iterator. The matching set to begin, we love a balanced pair πŸ‘‘

πŸ“ Definition at line 418 of file base.h.


πŸ’€ Author

Generated automatically by Doxygen for libstdc++ from the source code. Not a human, not a vibe, just a robot doing her thing πŸ€–βœ¨


ngl, this whole page is auto-generated, so if something looks sus, blame Doxygen, not me 😭

That's the whole manual page, bestie β€” mwah πŸ’– Brought to you by libstdc++, dated 21 Apr 2009 πŸŽ€ (yes, she's vintage, and yes, she still slays πŸ¦‹)

πŸ“¦ where this page comes from