STD::UNWRAP_REFERENCE(3cxx)

πŸ’– NAME πŸ’–

std::unwrap_reference< _Tp > β€” bestie, it's the little guy that unwraps a reference_wrapper for you ✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <type_traits>

🌸 Public Types 🌸

  • using type

πŸ¦‹ Detailed Description πŸ¦‹

Okay so picture this, right? πŸ’…

template<typename _Tp>
    struct std::unwrap_reference< _Tp >

It's literally giving "Unwrap a reference_wrapper" energy. That's the whole vibe, that's the whole job. You hand it a type, it hands you back the un-wrapped version. No cap. πŸ‘‘

Lowkey important though: this is a type trait, so nothing actually runs β€” it's all compile-time, bestie. 🧚

⭐ Since ⭐

C++20. She's a newer girlie, born in C++20, and she ate. 🫢


πŸ™ˆ Author πŸ™ˆ

Generated automatically by Doxygen for libstdc++ from the source code. Not me typing it out by hand, it's the robots doing their thing fr fr. 😭


That's the whole page, bestie β€” every single detail, nothing skipped, we keep the facts and only changed the vibe. This was libstdc++'s std::unwrap_reference< _Tp > page from the (3cxx) manual section, and that's a wrap πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from