LLVM  6.0.0svn
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 60 of file STLExtras.h.

Member Typedef Documentation

◆ argument_type

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

Definition at line 61 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 63 of file STLExtras.h.

◆ operator()() [2/2]

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

Definition at line 66 of file STLExtras.h.


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