---
name: "__gnu_parallel::__unary_negate"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_parallel::__unary_negate/3cxx"
---

# \_\_gnu\_parallel::\_\_unary\_negate(3cxx)

Similar to std::unary\_negate, but giving the argument types explicitly.

## NAME

\_\_gnu\_parallel::\_\_unary\_negate\< \_Predicate, argument\_type \> - Similar to std::unary\_negate, but giving the argument types explicitly.

## SYNOPSIS

`#include <base.h>`

Inherits **std::unary\_function\< argument\_type, bool \>**.

### Public Types

typedef **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

**\_\_unary\_negate** (const \_Predicate &\_\_x)\
 bool **operator()** (const **argument\_type** &\_\_x)\

### Protected Attributes

\_Predicate **\_M\_pred**\

## Detailed Description

### template\<typename \_Predicate, typename argument\_type\>

class \_\_gnu\_parallel::\_\_unary\_negate\< \_Predicate, argument\_type \>"Similar to std::unary\_negate, but giving the argument types explicitly.

## Member Typedef Documentation

### typedef argument\_type std::unary\_function\< argument\_type , bool \>::argument\_type` [inherited]`

`argument_type` is the type of the argument

### typedef bool std::unary\_function\< argument\_type , bool \>::result\_type` [inherited]`

`result_type` is the return type

## Author

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