Scroll to navigation

std::unary_negate< _Predicate >(3cxx) std::unary_negate< _Predicate >(3cxx)

NAME

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

SYNOPSIS

#include <stl_function.h>

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 1020 of file stl_function.h.

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 stl_function.h.

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

result_type is the return type

Definition at line 123 of file stl_function.h.

Constructor & Destructor Documentation

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

Definition at line 1029 of file stl_function.h.

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 1033 of file stl_function.h.

Member Data Documentation

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

Definition at line 1024 of file stl_function.h.

Author

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

Tue Jan 10 2023 libstdc++