__GNU_PBDS::DETAIL::TYPES_TRAITS(3cxx)

🌸 NAME 🌸

okay bestie, welcome to the 3cxx manual page for __GNU_PBDS::DETAIL::TYPES_TRAITS(3cxx) ✨ the actual star is __gnu_pbds::detail::types_traits< Key, Mapped, _Alloc, Store_Hash >, and the official one-liner is Traits for abstract types. periodt πŸ’…

✨ SYNOPSIS ✨

First thing, include this exactly:

#include <types_traits.hpp>

Inheritance tea: it inherits from __gnu_pbds::detail::maybe_null_type< Key, Mapped, _Alloc, Store_Hash > 🫢

Inherited by __gnu_pbds::detail::cc_ht_map< Key, Mapped, Hash_Fn, Eq_Fn, _Alloc, Store_Hash, Comb_Hash_Fn, Resize_Policy >, and __gnu_pbds::detail::gp_ht_map< Key, Mapped, Hash_Fn, Eq_Fn, _Alloc, Store_Hash, Comb_Probe_Fn, Probe_Fn, Resize_Policy > β€” yes both, no cap 😭

πŸŽ€ Public Types πŸŽ€

the full lineup, in order, because we do not skip ✨

  • typedef std::pair< size_type, size_type > comp_hash β€” the comp_hash pair, cute.
  • typedef __rebind_va::const_pointer const_pointer β€” const pointer vibes.
  • typedef __rebind_va::const_reference const_reference β€” const reference vibes.
  • typedef __rebind_ka::const_pointer key_const_pointer β€” key const pointer.
  • typedef __rebind_ka::const_reference key_const_reference β€” key const reference.
  • typedef __rebind_ka::pointer key_pointer β€” key pointer.
  • typedef __rebind_ka::reference key_reference β€” key reference.
  • typedef Key key_type β€” the key_type, main character.
  • typedef __rebind_ma::const_pointer mapped_const_pointer β€” mapped const pointer.
  • typedef __rebind_ma::const_reference mapped_const_reference β€” mapped const reference.
  • typedef __rebind_ma::pointer mapped_pointer β€” mapped pointer.
  • typedef __rebind_ma::reference mapped_reference β€” mapped reference.
  • typedef Mapped mapped_type β€” the mapped_type, also main character.
  • typedef __nothrowcopy::indicator no_throw_indicator β€” the no-throw indicator type.
  • typedef __rebind_va::pointer pointer β€” pointer, iconic.
  • typedef __rebind_va::reference reference β€” reference, iconic.
  • typedef _Alloc::size_type size_type β€” size type from _Alloc.
  • typedef integral_constant< int, Store_Hash > store_extra β€” the store_extra integral constant.
  • typedef stored_data< value_type, size_type, Store_Hash > stored_data_type β€” stored data type, slay.
  • typedef select_value_type< Key, Mapped >::type value_type β€” the selected value_type.

πŸ¦‹ Public Attributes πŸ¦‹

  • no_throw_indicator m_no_throw_copies_indicator β€” the no-throw-copies indicator member, present and accounted for.
  • store_extra m_store_extra_indicator β€” the store-extra indicator member, also here.

πŸ’… DETAILED DESCRIPTION πŸ’…

the detailed description is giving template realness:

template<typename Key, typename Mapped, typename _Alloc, bool Store_Hash>
       struct __gnu_pbds::detail::types_traits< Key, Mapped, _Alloc, Store_Hash
       >"Traits for abstract types.

yes, that " before Traits is exactly what the page shows β€” preserving the source tea, not editing it πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. 🫢


footer moment: the source/version stamp is libstd__gnu_pbds::de...c, Store_Hash >(3cxx) β€” that’s the footer text this page ends on, and there’s no separate date shown. bye bestie, go be iconic πŸŒˆπŸ¦‹