__GNU_PBDS::DETAIL::SELECT_VALUE_TYPE(3cxx)

πŸ’… __gnu_pbds::detail::select_value_type< Key, Mapped > β€” (3cxx) πŸ’…

🌸 NAME 🌸

__gnu_pbds::detail::select_value_type< Key, Mapped > β€” Choose value_type to be a key/value pair or just a key. That's the whole assignment, bestie. πŸ’–

✨ SYNOPSIS ✨

#include <types_traits.hpp>

πŸŽ€ Public Types πŸŽ€

  • typedef std::pair< const Key, Mapped > type β€” the public type, and it is literally std::pair with const Key and Mapped. Iconic. πŸ‘‘

πŸ’– Detailed Description πŸ’–

template<typename Key, typename Mapped>
struct __gnu_pbds::detail::select_value_type< Key, Mapped >

"Choose value_type to be a key/value pair or just a key." β€” periodt. This template takes Key and Mapped, and its whole vibe is deciding whether value_type is the key/value pair situation or just the key situation. No cap, that's the description. πŸ¦‹

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. Not me writing fanfic β€” Doxygen said what it said. πŸ’…


mwah πŸ’‹ β€” footer source/version + date situation: libst__gnu_pbds::det...< Key, Mapped >(3cxx). No extra date text showed up with it, so I'm not inventing one, bestie 🫢✨