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 sotypejust is_Default, no drama, no cap πusing value_t = false_typeβ andvalue_tis straight upfalse_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
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms