|
LLVM
10.0.0
|
Function object to apply a binary function to the first component of a std::pair. More...
#include "llvm/ADT/STLExtras.h"
Public Member Functions | |
| template<typename T > | |
| auto | operator() (const T &lhs, const T &rhs) const -> decltype(func(lhs.first, rhs.first)) |
Public Attributes | |
| FuncTy | func |
Function object to apply a binary function to the first component of a std::pair.
Definition at line 982 of file STLExtras.h.
|
inline |
Definition at line 986 of file STLExtras.h.
| FuncTy llvm::on_first< FuncTy >::func |
Definition at line 983 of file STLExtras.h.
1.8.13