std::unary_negate - Man Page

One of the negation functors.

Synopsis

#include <functional>

Inherits std::unary_function< _Predicate::argument_type, bool >.

Public Types

typedef _Predicate::argument_type argument_type
argument_type is the type of the argument
typedef bool result_type
result_type is the return type

Public Member Functions

constexpr unary_negate (const _Predicate &__x)
constexpr bool operator() (const typename _Predicate::argument_type &__x) const

Protected Attributes

_Predicate _M_pred

Detailed Description

template<typename _Predicate>

class std::unary_negate< _Predicate >"One of the negation functors.

Definition at line 1024 of file functional.

Member Typedef Documentation

typedef _Predicate::argument_type  std::unary_function< _Predicate::argument_type , bool  >::argument_type [inherited]

argument_type is the type of the argument

Definition at line 120 of file functional.

typedef bool  std::unary_function< _Predicate::argument_type , bool  >::result_type [inherited]

result_type is the return type

Definition at line 123 of file functional.

Constructor & Destructor Documentation

template<typename _Predicate > constexpr std::unary_negate< _Predicate >::unary_negate (const _Predicate & __x) [inline], [explicit], [constexpr]

Definition at line 1033 of file functional.

Member Function Documentation

template<typename _Predicate > constexpr bool std::unary_negate< _Predicate >::operator() (const typename _Predicate::argument_type & __x) const [inline], [constexpr]

Definition at line 1037 of file functional.

Member Data Documentation

template<typename _Predicate > _Predicate std::unary_negate< _Predicate >::_M_pred [protected]

Definition at line 1028 of file functional.

Author

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

Info

Wed Sep 7 2022 libstdc++