---
name: "__gnu_parallel::__unary_negate"
section: "3"
platform: "linux"
package: "gcc"
version: "16.2.1+r23+gd564253eb6c8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_parallel::__unary_negate"
---

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

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.
