siplasplas
A library for C++ reflection and introspection
cpp::constexp::Equal Struct Reference

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
 

Detailed Description

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.


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