__GNU_PBDS::DETAIL::TYPE_BASE(3cxx)
πΈ NAME πΈ
__gnu_pbds::detail::type_base< Key, Mapped, _Alloc, Store_Hash > β bestie, this is the Primary template. That's literally its whole job description, and it's serving.
β¨ SYNOPSIS β¨
okay so this one is a parent, and its children are out here inheriting everything it owns. The nepo babies in question are:
__gnu_pbds::detail::types_traits< Key, Mapped, _Alloc, false >__gnu_pbds::detail::types_traits< Key, Mapped, _Alloc, Store_Hash >
like yes, one of them hardcodes false and the other keeps Store_Hash as an actual template param. both valid. both iconic. π
π Detailed Description π
alright, deep dive time. The actual shape of this thing is:
template<typename Key, typename Mapped, typename _Alloc, bool Store_Hash>
struct __gnu_pbds::detail::type_base< Key, Mapped, _Alloc, Store_Hash >
and its entire personality is: "Primary template. β that's the quote, that's the moment. Nothing more to say, it's giving foundational.
fr fr, if you ever need to go look at it with your own two eyes: Definition at line 107 of file types_traits.hpp. π¦
lowkey a fun one to open in your editor just to see the whole types_traits.hpp family tree. no cap. π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. Not a human, not a poet, just Doxygen doing its lil thing and honestly? it ate. π€β¨
and that's the whole page bestie π«Ά this was libstdc++'s take on __gnu_pbds::det...c, Store_Hash > in section 3cxx β go forth and template 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