---
name: "std::identity"
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::identity/3cxx"
---

# std::identity(3cxx)

\[func.identity\] The identity function.

## NAME

std::identity - \[func.identity\] The identity function.

## SYNOPSIS

`#include <functional>`

### Public Types

**using** **is\_transparent** = **\_\_is\_transparent**\

### Public Member Functions

template\<**typename** \_Tp \> constexpr \_Tp && **operator()** (\_Tp &&\_\_t) const noexcept\

## Detailed Description

\[func.identity\] The identity function.

## Author

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