STD::CONDITIONAL(3cxx)

πŸ’– NAME πŸ’–

okay so bestie, welcome to the 3cxx manual page for std::conditional< _Cond, _Iftrue, _Iffalse > ✨. the whole glow-up here is: Define a member typedef type to one of two argument types. that’s the vibe, that’s the job, periodt πŸ’….

✨ SYNOPSIS ✨

#include <type_traits>

πŸŽ€ Public Types πŸŽ€

  • using type = _Iftrue β€” yes bestie, that’s the public typedef listed here 🫢.

🌸 Detailed Description 🌸

the template situation is exactly this, no cap:

template<bool _Cond, typename _Iftrue, typename _Iffalse>
    struct std::conditional< _Cond, _Iftrue, _Iffalse >

and the description is giving: Define a member typedef type to one of two argument types. it’s literally a type-picking lil icon, with _Cond, _Iftrue, and _Iffalse right there in the template πŸ’œ.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code.

so no human author to tag β€” it’s Doxygen doing its automatic thing, and honestly? iconic πŸ€–βœ¨.


bye bestie πŸ’– β€” this was the 3cxx page, source/version vibes from libstdc++, and the footer didn’t give a clean separate date, so I’m not inventing one 😭. slay responsibly πŸŽ€.

πŸ“¦ where this page comes from