LLVM  6.0.0svn
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 "llvm/ADT/STLExtras.h"

Collaboration diagram for llvm::deref< T >:
Collaboration graph
[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 1001 of file STLExtras.h.

Member Function Documentation

◆ operator()()

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

References assert().

Member Data Documentation

◆ func

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

Definition at line 1002 of file STLExtras.h.


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