__GNU_PBDS::DETAIL::TYPE_DISPATCH(3cxx)

πŸ“¦
version 9.5.0 Β· 3 versions
, in ubuntu noble

πŸ’– NAME πŸ’–

__gnu_pbds::detail::type_dispatch< Key, Mapped, _Alloc, Store_Hash > β€” Type base dispatch. that's it, that's the whole job bestie ✨

(this one lives in the 3cxx man page collection, aka the libstdc++ docs, so you know it's the real deal πŸ’…)


🌸 SYNOPSIS 🌸

okay so first things first, you gotta let it in:

#include <types_traits.hpp>

✨ Public Types ✨

  • typedef type_base< Key, Mapped, _Alloc, Store_Hash > type β€” this is the type. the one it dispatches to. the main character of the whole struct fr fr πŸ‘‘

πŸ¦‹ Detailed Description πŸ¦‹

listen, the whole vibe is:

template<typename Key, typename Mapped, typename _Alloc, bool Store_Hash>
struct __gnu_pbds::detail::type_dispatch< Key, Mapped, _Alloc, Store_Hash >

and its little tagline is "Type base dispatch. β€” that's the description, that's what it does, no notes πŸ’€

Definition at line 256 of file types_traits.hpp. yes we're citing sources, we're being academic about it, periodt πŸ“š

πŸŽ€ Member Typedef Documentation πŸŽ€

okay so for the template

template<typename Key , typename Mapped , typename _Alloc , bool Store_Hash>

the member typedef is:

typedef type_base<Key, Mapped, _Alloc, Store_Hash>
__gnu_pbds::detail::type_dispatch< Key, Mapped, _Alloc, Store_Hash >::type

that's the ::type right there β€” the payoff, the glow-up, the final form 🫢

Definition at line 258 of file types_traits.hpp. two lines below the struct, iconic behavior honestly ✨

🌈 Author 🌈

Generated automatically by Doxygen for libstdc++ from the source code. so like… nobody wrote this, the machine did, and it ate πŸ’…


and that's the whole page bestie!! πŸ“ this little gem is from the libstdc++ man pages, and yeah the byline at the bottom is literally just libstdc++ β€” no date, no drama, just vibes and a Doxygen autogeneration notice πŸ’œ go forth and #include <types_traits.hpp> responsibly, mwah 🧚

πŸ“¦ where this page comes from