std::identity(3) Library Functions Manual std::identity(3)

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

#include <ranges_cmp.h>


using is_transparent


template<typename _Tp > constexpr _Tp && operator() (_Tp &&__t) const noexcept

[func.identity] The identity function.

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

libstdc++