LLVM  8.0.1
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 1402 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 1409 of file STLExtras.h.

References assert().

Member Data Documentation

◆ func

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

Definition at line 1403 of file STLExtras.h.


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