#ifndef TEST_STD_FUNCTIONOBJECTS_REFWRAP_HELPER_CONCEPTS_H
#define TEST_STD_FUNCTIONOBJECTS_REFWRAP_HELPER_CONCEPTS_H
#include <concepts>
#include <utility>
template <typename T>
concept HasEqualityOperatorWithInt = requires(T t, int i) {
{ t.get() == i } -> std::convertible_to<bool>;
};
template <class T>
concept BooleanTestableImpl = std::convertible_to<T, bool>;
template <class T>
concept BooleanTestable = BooleanTestableImpl<T> && requires(T&& t) {
{ !std::forward<T>(t) } -> BooleanTestableImpl;
};
template <typename T>
concept HasSpaceshipOperatorWithInt = requires(T t, int i) {
{ t < i } -> BooleanTestable;
{ i < t } -> BooleanTestable;
};
#endif