LLVM 20.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
[legend]

Public Types

using is_transparent = void
 
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 22 of file identity.h.

Member Typedef Documentation

◆ argument_type

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

Definition at line 24 of file identity.h.

◆ is_transparent

template<class Ty >
using llvm::identity< Ty >::is_transparent = void

Definition at line 23 of file identity.h.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 29 of file identity.h.

◆ operator()() [2/2]

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

Definition at line 26 of file identity.h.


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