libstdc++
std::identity Struct Reference

#include <ranges_cmp.h>

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 ranges_cmp.h.

Member Typedef Documentation

◆ is_transparent

using std::identity::is_transparent = __is_transparent

Definition at line 55 of file ranges_cmp.h.

Member Function Documentation

◆ operator()()

template<typename _Tp >
constexpr _Tp && std::identity::operator() ( _Tp &&  __t) const
inlineconstexprnoexcept

Definition at line 52 of file ranges_cmp.h.


The documentation for this struct was generated from the following file: