Hard
Overloads constrained by Integral and SignedIntegral
Compiled as C++20, what does this program print?
main.cpp
#include <concepts>
#include <iostream>
template <typename T>
concept Integral = std::integral<T>;
template <typename T>
concept SignedIntegral = Integral<T> && std::signed_integral<T>;
template <Integral T>
void f(T) { std::cout << "Integral\n"; }
template <SignedIntegral T>
void f(T) { std::cout << "SignedIntegral\n"; }
int main() {
f(42);
}40 of 117 in C++