__gnu_pbds::null_type(3cxx)

πŸ’– __gnu_pbds::null_type β€” (3cxx) manual page πŸ’–

okay so bestie, welcome to the no-type corner of libstdc++ β€” yes, we're doing template tricks and we're doing them cutely. πŸ’…

πŸ’– NAME πŸ’–

__gnu_pbds::null_type β€” represents no type, or the absence of type, for template tricks. Periodt. ✨

✨ SYNOPSIS ✨

#include <tag_and_trait.hpp>

Inherited by __gnu_pbds::null_node_update< _Tp1, _Tp2, _Tp3, _Tp4 >.

🌸 Detailed Description 🌸

Okay so the whole vibe: __gnu_pbds::null_type represents no type, or the absence of type, for template tricks. That's the main character energy. πŸŽ€

Here's where she shows up and what she means:

  • In a mapped-policy, indicates that an associative container is a set. 🫢
  • In a list-update policy, indicates that each link does not need metadata. πŸ’…
  • In a hash policy, indicates that the combining hash function is actually a ranged hash function. πŸ”₯
  • In a probe policy, indicates that the combining probe function is actually a ranged probe function. 🌈
no extra lore, bestie β€” that's literally the whole list. and yes, "no type" is the point; she's not missing, she's iconic. 😭

🫢 Author 🫢

This page was generated automatically by Doxygen for libstdc++ from the source code. slay, automation. πŸ€–βœ¨


Catch you later, bestie β€” this page is from libstdc++ and points back to __gnu_pbds::null_type(3cxx). The footer didn't print a date, so I'm not inventing one β€” no cap. πŸ’–πŸ¦‹