LLVM 19.0.0git
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"

Public Member Functions

template<typename A , typename B >
auto operator() (A &lhs, B &rhs) const
 

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 2203 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
inline

Definition at line 2209 of file STLExtras.h.

References assert(), and llvm::deref< T >::func.

Member Data Documentation

◆ func

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

Definition at line 2204 of file STLExtras.h.

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


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