STD::RANGES::NOT_EQUAL_TO(3)

πŸ’– NAME πŸ’–

okay so bestie, gather round β€” std::ranges::not_equal_to is a ranges::not_equal_to function object type. that's the whole vibe. she's a little type that you can call like a function, and she's living in the ranges era of C++ because of course she is. πŸ’…


✨ SYNOPSIS ✨

#include <functional>

like, that's it. that's the include. go off, <functional>. πŸŽ€

🌸 Public Types 🌸

  • using is_transparent β€” yes queen, she's transparent, meaning she plays nice with heterogeneous comparisons and doesn't force everything into one type first. iconic behavior, honestly.

πŸ¦‹ Static Public Member Functions πŸ¦‹

  • template<typename _Tp, typename _Up> static constexpr bool operator()(_Tp &&__t, _Up &&__u) noexcept(noexcept(std::declval< _Tp >()==std::declval< _Up >()))

this is the main character moment right here. static, constexpr, templated on _Tp and _Up, takes __t and __u as forwarding references, and the noexcept spec literally just copies whatever std::declval< _Tp >()==std::declval< _Up >() does. so if == can throw, she can throw. if == is chill, she's chill. no cap. 🫢

ngl the noexcept(noexcept(...)) nesting is giving inception but it's literally just "inherit the exception-ness of the underlying == operator." periodt.

πŸ”₯ Detailed Description πŸ”₯

ranges::not_equal_to function object type. πŸ’€

she's the callable you reach for when you want to know if two things are not equal, but in a fancy ranges-flavored, transparent, constexpr, perfectly-forwarded kind of way. the way that she just works as a function object... obsessed. 🌈


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. so like, no human author, just Doxygen doing its little robot thing and producing this page for us. we love an automated queen. πŸ€–βœ¨


and that's the whole page bestie!! this absolute baddie shipped with libstdc++ and lives at std::range...ot_equal_to(3) in the manual β€” she got auto-generated by Doxygen straight from the source code and she's serving constexpr transparency realness. slay, read her, use her, love her. πŸŽ€πŸ’–πŸ¦‹β­

πŸ“¦ where this page comes from
  • arch rolling: gcc 16.2.1+r23+gd564253eb6c8-1 Β· GPL-3.0-or-later WITH GCC-exception-3.1 AND GFDL-1.3-or-later
  • fedora 44: libstdc++-docs 16.0.1-0.10.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
  • fedora 44: libstdc++-docs 16.2.1-2.fc44
  • fedora 44: libstdc++-docs 16.2.1-3.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms