LLVM  3.7.0
Public Member Functions | Public Attributes | List of all members
llvm::deref< T > Struct Template Reference

Binary functor that adapts to any other binary functor after dereferencing operands. More...

#include <STLExtras.h>

Collaboration diagram for llvm::deref< T >:
[legend]

Public Member Functions

template<typename A , typename B >
auto operator() (A &lhs, B &rhs) const -> decltype(func(*lhs,*rhs))
 

Public Attributes

T func
 

Detailed Description

template<typename T>
struct llvm::deref< T >

Binary functor that adapts to any other binary functor after dereferencing operands.

Definition at line 407 of file STLExtras.h.

Member Function Documentation

template<typename T >
template<typename A , typename B >
auto llvm::deref< T >::operator() ( A &  lhs,
B &  rhs 
) const -> decltype(func(*lhs, *rhs))
inline

Definition at line 413 of file STLExtras.h.

References llvm::deref< T >::func.

Member Data Documentation

template<typename T >
T llvm::deref< T >::func

Definition at line 408 of file STLExtras.h.

Referenced by llvm::deref< T >::operator()().


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