#include <concepts>
template <std::integral Type>
constexpr bool is_odd(Type x) {
return x & 1;
}
template <std::integral Type>
constexpr bool is_even(Type x) {
return !is_odd(x);
}
~ / code / portfolio / projects /
#include <concepts>
template <std::integral Type>
constexpr bool is_odd(Type x) {
return x & 1;
}
template <std::integral Type>
constexpr bool is_even(Type x) {
return !is_odd(x);
}