STD::__IS_NULLPTR_T(3cxx)

✨ NAME ✨

std::__is_nullptr_t< _Tp > β€” the __is_nullptr_t situation, aka a deprecated extension bestie πŸ’… (this is a 3cxx libstdc++ page, so you already know it's C++ headers territory)


🌸 SYNOPSIS 🌸

#include <type_traits>

So here's the deal: this thing inherits from std::is_null_pointer< _Tp >. That's it, that's the whole vibe β€” it's a little shadow of the real one πŸ¦‹

πŸŽ€ Public Types

  • typedef integral_constant< bool, __v > type β€” the type it hands you, a bool wrapped up in an integral_constant
  • typedef bool value_type β€” and the value type is just... bool, iconic, no notes ✨

πŸ’– Public Member Functions

  • constexpr operator value_type () const noexcept β€” converts itself straight into a value_type, constexpr and noexcept like a good little integral_constant 🫢
  • constexpr value_type operator() () const noexcept β€” and you can also just call it like a function and get the same value_type back. constexpr, noexcept, the whole package πŸ’…

⭐ Static Public Attributes

  • static constexpr bool value β€” the actual answer, sitting right there as a static constexpr bool

🧚 Detailed Description 🧚

template<typename _Tp>
    struct std::__is_nullptr_t< _Tp >

__is_nullptr_t (deprecated extension).

⚠️ Deprecated, bestie. This is Non-standard. Use is_null_pointer instead. Like, for real. This one's a museum piece πŸ‘‘

πŸ‘‘ Author

Generated automatically by Doxygen for libstdc++ from the source code. So nobody wrote this, the robot did, and honestly? It ate 🌈


That's the whole page, bestie β€” libstdc++, std::__is_nullptr_t< _Tp >(3cxx), no cap. Go use is_null_pointer instead and slay πŸ’–βœ¨

πŸ“¦ where this page comes from