std::identity(3)

std::identity3

[func.identity] the identity function.

Usage

#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.

From gcc 16.2.1+r23+gd564253eb6c8-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.