---
name: "std::Identity"
section: "3"
platform: "linux"
package: "libstdc++5-3.3-doc"
version: "1:3.3.6-15"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/std::Identity"
---

# std::Identity(3)

## NAME

std::Identity -

## SYNOPSIS

Inherits **std::unary\_function\< Type, Type \>**.

Inherited by **\_\_gnu\_cxx::identity\< Type \>**.

### Public Types

typedef Type **argument\_type**\
 `argument_type` *is the type of the argument (no surprises here)*  typedef Type **result\_type**\
 `result_type` *is the return type*

### Public Member Functions

Type & **operator()** (Type &x) const\
 const Type & **operator()** (const Type &x) const \

## Detailed Description

### template\<class Type\> struct std::Identity\< Type \>

Definition at line 479 of file stl\_function.h.

## Member Typedef Documentation

### typedef Type std::unary\_function\< Type , Type \>::argument\_type` [inherited]`

`argument_type` is the type of the argument (no surprises here)

Definition at line 103 of file stl\_function.h.

### typedef Type std::unary\_function\< Type , Type \>::result\_type` [inherited]`

`result_type` is the return type

Definition at line 104 of file stl\_function.h.

## Author

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