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

#include "llvm/ADT/identity.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 21 of file identity.h.

Member Typedef Documentation

◆ argument_type

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

Definition at line 22 of file identity.h.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 27 of file identity.h.

◆ operator()() [2/2]

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

Definition at line 24 of file identity.h.

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