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


_GLIBCXX14_CONSTEXPR unary_negate (const _Predicate &__x)
_GLIBCXX14_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 1003 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 108 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 111 of file stl_function.h.

Constructor & Destructor Documentation

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

Definition at line 1012 of file stl_function.h.

Member Function Documentation

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

Definition at line 1016 of file stl_function.h.

Member Data Documentation

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

Definition at line 1007 of file stl_function.h.

Author

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

libstdc++