STD::TUPLE_SIZE(3cxx)
π std::tuple_size< _Tp > β the 3cxx girlie π
okay bestie, welcome to the <3cxx girlies club π this one's a header-page situation, so let's get into it.
β¨ NAME β¨
std::tuple_size< _Tp > β finds the size of a given tuple type. that's it, that's the whole job, and she does it flawlessly π
πΈ SYNOPSIS πΈ
so like, this template is inherited by a whole little squad of cv-qualified versions, and yes they're all named like a nightmare but we love them:
std::tuple_size< const __enable_if_has_tuple_size< _Tp > >std::tuple_size< const volatile __enable_if_has_tuple_size< _Tp > >std::tuple_size< volatile __enable_if_has_tuple_size< _Tp > >
the way that const and volatile both get their own glow-up versions? iconic behavior, no cap. π¦
π§ Detailed Description π§
here's the actual shape of her, fr fr:
template<typename _Tp>
struct std::tuple_size< _Tp >"Finds the size of a given tuple type.
finds the size of a given tuple type. β¨ that's the vibe. she looks at your tuple type and tells you how big it is. main character energy, lowkey doing the most with the least π«Ά
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. so no, a human didn't hand-write this one β the machine did it, and honestly? she ate πβ¨
π reminder bestie: this page lives in the 3cxx manual, and everything above is exactly what it says β don't go inventing extra behavior, iykyk π
and that's a wrap on our girl π big kisses to libstdc++ for birthing this page, mwah ππΈπ¦ periodt.
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu resolute: libstdc++-12-doc 12.5.0-9ubuntu1
- ubuntu resolute: libstdc++-13-doc 13.4.0-10ubuntu1
- ubuntu resolute: libstdc++-14-doc 14.3.0-14ubuntu1
- ubuntu resolute: libstdc++-15-doc 15.2.0-16ubuntu1
- ubuntu resolute: libstdc++-16-doc 16-20260322-1ubuntu1
- ubuntu stonking: libstdc++-12-doc 12.5.0-9ubuntu1
- ubuntu stonking: libstdc++-13-doc 13.5.0-1ubuntu1
- ubuntu stonking: libstdc++-14-doc 14.4.0-2ubuntu1
- ubuntu stonking: libstdc++-15-doc 15.3.0-4ubuntu1
- ubuntu stonking: libstdc++-16-doc 16.2.0-3ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms