Scroll to navigation

std::identity(3cxx) std::identity(3cxx)

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.

Definition at line 47 of file functional.

Member Typedef Documentation

using std::identity::is_transparent = __is_transparent

Definition at line 55 of file functional.

Member Function Documentation

template<typename _Tp > constexpr _Tp && std::identity::operator() (_Tp && __t) const [inline], [constexpr], [noexcept]

Definition at line 52 of file functional.

Author

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

Sun Jan 8 2023 libstdc++