1234567
template<typename...T> requires is_arithmetic_v<T>... int sum_by_fold(T...v) { return (v + ... + 0); // add all elements of v starting with 0 } int x = sum_by_fold(1, 2.4, 78, 'a');
requires (is_arithmetic_v<T> && ...)