std::identity - Man Page

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

Info

Wed Sep 7 2022 libstdc++