STD::__DETECTOR(3cxx)

πŸ’– NAME πŸ’–

std::__detector< _Default, _AlwaysVoid, _Op, _Args > β€” the implementation of the detection idiom, but make it the negative case. bestie this is the 3cxx manual page, ok? it's a whole vibe.


✨ SYNOPSIS ✨

#include <type_traits>

πŸŽ€ Public Types πŸŽ€

  • using type = _Default β€” yeah so type just is _Default, no drama, no cap πŸ’…
  • using value_t = false_type β€” and value_t is straight up false_type. it's giving "nope, didn't detect it" 🫢

🌸 Detailed Description 🌸

template<typename _Default, typename _AlwaysVoid, template< typename... >
    class _Op, typename... _Args>
    struct std::__detector< _Default, _AlwaysVoid, _Op, _Args >

okay so this is the negative case of the detection idiom β€” literally what kicks in when the detection doesn't work out 😭. it's the "Implementation of the detection idiom (negative case)" and honestly? she's doing her job, quietly, in <type_traits>, no notes πŸ”₯.


πŸ¦‹ Author πŸ¦‹

Generated automatically by Doxygen for libstdc++ from the source code. not me getting a whole author credit from a machine, iconic behavior fr fr πŸ’€βœ¨


and that's the whole page bestie πŸŽ€ mwah πŸ’–

this lil gem lives in the 3cxx manual, brought to you by libstdc++ β€” go forth and detect responsibly πŸ‘‘

πŸ“¦ where this page comes from