Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumC++concepts basicsSingle-choice MCQ

What is the practical difference between these two ways of constraining, in terms of overload resolution?

template <typename T> requires std::integral<T> void g(T); // (1) template <std::integral T> void h(T); // (2)