LLVM  14.0.0git
Public Types | Public Member Functions | List of all members
llvm::identity< Ty > Struct Template Reference

#include "llvm/ADT/STLExtras.h"

Inheritance diagram for llvm::identity< Ty >:
Inheritance graph

Public Types

using argument_type = Ty

Public Member Functions

Ty & operator() (Ty &self) const
const Ty & operator() (const Ty &self) const

Detailed Description

template<class Ty>
struct llvm::identity< Ty >

Definition at line 151 of file STLExtras.h.

Member Typedef Documentation

◆ argument_type

template<class Ty >
using llvm::identity< Ty >::argument_type = Ty

Definition at line 152 of file STLExtras.h.

Member Function Documentation

◆ operator()() [1/2]

template<class Ty >
const Ty& llvm::identity< Ty >::operator() ( const Ty &  self) const

Definition at line 157 of file STLExtras.h.

◆ operator()() [2/2]

template<class Ty >
Ty& llvm::identity< Ty >::operator() ( Ty &  self) const

Definition at line 154 of file STLExtras.h.

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