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

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 88 of file STLExtras.h.

Member Typedef Documentation

◆ argument_type

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

Definition at line 89 of file STLExtras.h.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 91 of file STLExtras.h.

◆ operator()() [2/2]

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

Definition at line 94 of file STLExtras.h.


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