Build a unary predicate that tests equality to Arg.
Declared in <llvm/ADT/STLExtras.h>
template<typename T>
constexpr
auto
equal_to(T&& Arg);
Functor variant of std::equal_to for algorithms like all_of. The argument is forwarded and stored by value. To pass by reference, use std::ref or std::cref.
A unary predicate that tests equality to Arg.
| Name | Description |
|---|---|
| Arg | Value to compare against. |