---
name: "std::logical_not"
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/std::logical_not"
---

# std::logical\_not(3)

One of the Boolean operations functors.

## NAME

std::logical\_not\< \_Tp \> - One of the **Boolean operations functors**.

## SYNOPSIS

\#include \<functional\>

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

### Public Types

typedef \_Tp **argument\_type**\
 argument\_type is the type of the argument  typedef bool **result\_type**\
 result\_type is the return type

### Public Member Functions

constexpr bool **operator()** (const \_Tp &\_\_x) const\

## Detailed Description

### template\<typename \_Tp\>

struct std::logical\_not\< \_Tp \>"One of the **Boolean operations functors**.

## Member Typedef Documentation

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

argument\_type is the type of the argument

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

result\_type is the return type

## Author

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