__gnu_parallel::_Nothing(3cxx)

πŸ’… NAME πŸ’…

okay so welcome to the cxx manual page for __gnu_parallel::_Nothing(3cxx) β€” yes bestie, that's the whole title, and it's giving "I have one job and that job is nothing." ✨

__gnu_parallel::_Nothing β€” a functor that does nothing. Literally. No cap. 🫢


✨ SYNOPSIS ✨

#include <for_each_selectors.h>

πŸŽ€ Public Member Functions

  • template<typename _It > void operator() (_It __i) β€” the functor execution moment. Yes, that's the whole public API, and it ate. πŸ’…

🌸 Detailed Description 🌸

Functor doing nothing. That's the vibe, that's the assignment, that's the entire personality. Iconic. πŸŽ€

It's for some __reduction tasks. Heads up though: this is not a function object, but it gets passed as the __selector __dummy parameter. So it's lowkey just sitting there being a dummy selector, and honestly? Relatable. 😭


πŸ¦‹ Member Function Documentation πŸ¦‹

✨ template<typename _It > void __gnu_parallel::_Nothing::operator() (_It __i) ✨

template<typename _It > void __gnu_parallel::_Nothing::operator() (_It __i)

[inline] β€” yes, inline, bestie. ✨

Functor execution. That's what it says, that's what it does, and it does nothing, which is the whole point. πŸ’€

πŸ’œ Parameters πŸ’œ

  • __i β€” iterator referencing object. It gets handed an iterator, and the functor does its cute little nothing with it. Obsessed. πŸ¦‹

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. So no human author to thank β€” the robots did this one, and they kind of slayed. πŸ€–πŸ’–


Cute sign-off: this page is from libstdc++, for __gnu_parallel::_Nothing(3cxx). The footer didn't give me a date, bestie, so I'm not making one up β€” no cap, that's all the source/version/date tea we have. 🫢🌸