std::_Not_fn - Man Page

Generalized negator.

Synopsis

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

Public Attributes

template<typename... _Args> 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> 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> 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> 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... > >()))

Detailed Description

template<typename _Fn>

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

Definition at line 998 of file functional.

Constructor & Destructor Documentation

template<typename _Fn > template<typename _Fn2 > constexpr std::_Not_fn< _Fn >::_Not_fn (_Fn2 && __fn, int) [inline], [constexpr]

Definition at line 1010 of file functional.

Member Data Documentation

template<typename _Fn > template<typename... _Args> constexpr decltype(_S_not< __inv_res_t< _Fn &&, _Args... > >()) std::_Not_fn< _Fn >::operator()(_Args &&... __args) &&noexcept(__is_nothrow_invocable< _Fn &&, _Args... >::value &&noexcept(_S_not< __inv_res_t< _Fn &&, _Args... > >())) [inline], [constexpr], [noexcept]

Definition at line 1033 of file functional.

template<typename _Fn > template<typename... _Args> constexpr decltype(_S_not< __inv_res_t< _Fn &, _Args... > >()) std::_Not_fn< _Fn >::operator()(_Args &&... __args) &noexcept(__is_nothrow_invocable< _Fn &, _Args... >::value &&noexcept(_S_not< __inv_res_t< _Fn &, _Args... > >())) [inline], [constexpr], [noexcept]

Definition at line 1031 of file functional.

template<typename _Fn > template<typename... _Args> constexpr decltype(_S_not< __inv_res_t< _Fn const &&, _Args... > >()) std::_Not_fn< _Fn >::operator()(_Args &&... __args) const &&noexcept(__is_nothrow_invocable< _Fn const &&, _Args... >::value &&noexcept(_S_not< __inv_res_t< _Fn const &&, _Args... > >())) [inline], [constexpr], [noexcept]

Definition at line 1034 of file functional.

template<typename _Fn > template<typename... _Args> constexpr decltype(_S_not< __inv_res_t< _Fn const &, _Args... > >()) std::_Not_fn< _Fn >::operator()(_Args &&... __args) const &noexcept(__is_nothrow_invocable< _Fn const &, _Args... >::value &&noexcept(_S_not< __inv_res_t< _Fn const &, _Args... > >())) [inline], [constexpr], [noexcept]

Definition at line 1032 of file functional.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Info

Wed Sep 7 2022 libstdc++