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
- ubuntu resolute: libstdc++-12-doc 12.5.0-9ubuntu1
- ubuntu resolute: libstdc++-13-doc 13.4.0-10ubuntu1
- ubuntu stonking: libstdc++-12-doc 12.5.0-9ubuntu1
- ubuntu stonking: libstdc++-13-doc 13.5.0-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms