LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::identity< Ty > Struct Template Reference

#include <STLExtras.h>

Inheritance diagram for llvm::identity< Ty >:
Inheritance graph
[legend]
Collaboration diagram for llvm::identity< Ty >:
Collaboration graph
[legend]

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

Member Function Documentation

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

Definition at line 34 of file STLExtras.h.

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

Definition at line 37 of file STLExtras.h.


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