siplasplas
A library for C++ reflection and introspection
|
Constexpr functor that compares two values for equality. More...
#include <siplasplas/constexpr/algorithm.hpp>
Public Member Functions | |
template<typename T , typename U > | |
constexpr bool | operator() (const T &lhs, const U &rhs) const |
Constexpr functor that compares two values for equality.
The functor invokes operator==
on the given values. The functor is constexpr only if the found operator==
is constexpr.