STD::_NOT_FN(3)

πŸ’– NAME πŸ’–

okay so bestie, welcome to the manual page for std::_Not_fn< _Fn > from the Library Functions Manual. The official name is std::_Not_fn< _Fn >, and the one-line description is Generalized negator. That’s the whole name section, periodt. ✨


🌸 SYNOPSIS 🌸

#include <functional>

πŸ’… Public Member Functions πŸ’…

template<typename _Fn2> constexpr _Not_fn (_Fn2 &&__fn, int)
_Not_fn (_Not_fn &&__fn)=default
_Not_fn (const _Not_fn &__fn)=default
template<typename... _Args, typename = enable_if_t<!__is_invocable<_Fn
    &&, _Args...>::value>> void operator() (_Args &&... __args)
    &&=delete
template<typename... _Args, typename = enable_if_t<__is_invocable<_Fn
    &&, _Args...>::value>> constexpr decltype(_S_not< __inv_res_t< _Fn
    &&, _Args... > >()) operator() (_Args &&... __args)
    &&noexcept(__is_nothrow_invocable< _Fn &&, _Args... >::value
    &&noexcept(_S_not< __inv_res_t< _Fn &&, _Args... > >()))
template<typename... _Args, typename = enable_if_t<!__is_invocable<_Fn
    &, _Args...>::value>> void operator() (_Args &&... __args) &=delete
template<typename... _Args, typename = enable_if_t<__is_invocable<_Fn &,
    _Args...>::value>> constexpr decltype(_S_not< __inv_res_t< _Fn &,
    _Args... > >()) operator() (_Args &&... __args)
    &noexcept(__is_nothrow_invocable< _Fn &, _Args... >::value
    &&noexcept(_S_not< __inv_res_t< _Fn &, _Args... > >()))
template<typename... _Args, typename = enable_if_t<!__is_invocable<_Fn
    const &&, _Args...>::value>> void operator() (_Args &&... __args)
    const &&=delete
template<typename... _Args, typename = enable_if_t<__is_invocable<_Fn
    const &&, _Args...>::value>> constexpr decltype(_S_not< __inv_res_t<
    _Fn const &&, _Args... > >()) operator() (_Args &&... __args) const
    &&noexcept(__is_nothrow_invocable< _Fn const &&, _Args... >::value
    &&noexcept(_S_not< __inv_res_t< _Fn const &&, _Args... > >()))
template<typename... _Args, typename = enable_if_t<!__is_invocable<_Fn
    const &, _Args...>::value>> void operator() (_Args &&... __args)
    const &=delete
template<typename... _Args, typename = enable_if_t<__is_invocable<_Fn
    const &, _Args...>::value>> constexpr decltype(_S_not< __inv_res_t<
    _Fn const &, _Args... > >()) operator() (_Args &&... __args) const
    &noexcept(__is_nothrow_invocable< _Fn const &, _Args... >::value
    &&noexcept(_S_not< __inv_res_t< _Fn const &, _Args... > >()))
This is the full list, no skips, no β€œand friends” shortcuts. Every constructor and every operator() overload is right there. πŸ’…

πŸ¦‹ Detailed Description πŸ¦‹

template<typename _Fn>
    class std::_Not_fn< _Fn >"Generalized negator.

That’s the detailed description, bestie. It says the class is a Generalized negator, and the template parameter is _Fn. No extra lore, no secret chapters. πŸ¦‹


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. So the author section is literally just Doxygen doing its thing for libstdc++. No human author listed, no cap. πŸ‘‘


Sign-off: this page came from libstdc++, and its page name is std::_Not_fn< _Fn >(3). The footer did not give a date, so there’s no date to spill. Bye bestie, go negate something generalized! πŸ’–βœ¨

πŸ“¦ 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