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

# std::logical\_not(3cxx)

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.
