LLVM 22.0.0git
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 2240 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 2246 of file STLExtras.h.

References A(), assert(), B(), and func.

Member Data Documentation

◆ func

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

Definition at line 2241 of file STLExtras.h.

Referenced by operator()().


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