STD::UNDERLYING_TYPE(3cxx)

okay so bestie, welcome to the std::underlying_type< _Tp >(3cxx) page πŸ’…βœ¨. This one is literally about figuring out what enum you really are underneath. Let’s get into it, no cap.

πŸ’– NAME πŸ’–

  • std::underlying_type< _Tp > β€” the underlying type of an enum. That’s the whole vibe. 🫢

✨ SYNOPSIS ✨

#include <type_traits>
  • Inherits __underlying_type_impl< _Tp >. lowkey important, bestie.

🌸 Detailed Description 🌸

template<typename _Tp>
    struct std::underlying_type< _Tp >"The underlying type of an enum.

So yeah β€” the whole point is the underlying type of an enum. It’s templated on _Tp, and it inherits __underlying_type_impl< _Tp > (already said it in SYNOPSIS, but it’s giving main character energy, so it gets a lil encore). No cap. 🌈

πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for libstdc++ from the source code. Doxygen did the typing, not me πŸ˜­πŸ’–


cute sign-off: this page is brought to you by libstdc++ β€” that’s the source/version in the footer β€” and the footer doesn’t list a date, bestie. The manual name is std::underlying_type< _Tp >(3cxx), and that’s periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from