__GNU_PBDS::DETAIL::TYPE_DISPATCH(3cxx)
π 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
- ubuntu noble: libstdc++-9-doc 9.5.0-6ubuntu2
- ubuntu noble: libstdc++-9-doc 9.5.0-6ubuntu2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms