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

# std::identity(3)

\[func.identity\] The identity function.

## NAME

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

## SYNOPSIS

\#include \<functional\>

### Public Types

using **is\_transparent**\

### Static Public Member Functions

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

## Detailed Description

\[func.identity\] The identity function.

## Author

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